[ET Trac] [Einstein Toolkit] #456: Ensure functions are not defined twice
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Jun 21 14:12:23 CDT 2011
#456: Ensure functions are not defined twice
--------------------------+-------------------------------------------------
Reporter: hinder | Owner:
Type: enhancement | Status: new
Priority: major | Milestone:
Component: Cactus | Version:
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by eschnett):
This is quite easy to achieve with GNU ld. We need to add the flag -Wl
,--whole-archive before the list of thorns, and -Wl,--no-whole-archive
after the list of thorns. This ensures that all routines from all files
from all thorns are included in the executable, leading to "duplicate
symbols" errors if there are duplicate symbols.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/456#comment:1>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list