#18028 closed defect (fixed)
xorg-liblbxutil can't build universal
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | xorg-liblbxutil |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I'm on Mac OS X 10.4.11 Intel with Xcode 2.5 and MacPorts 1.7.0 and cannot build xorg-liblbxutil universal (i386 ppc). It fails with:
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
See the attached log.
Attachments (1)
Change History (8)
Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | xorg-liblbxutil.txt added |
---|
comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:2 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Perhaps a Tiger-specific problem?
Searching Google, I see a suggestion to use -fno-common to fix this.
I see these lines in the output:
checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... no
checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes
But -fno-common isn't actually used to compile, perhaps causing the problem.
comment:4 follow-up: 5 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Hmm... can you try:
use_autoreconf yes autoreconf.args -fvi
Maybe an updated/smarter libtool will fix this...
comment:5 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to jeremyhu@…:
use_autoreconf yes autoreconf.args -fvi
Yes, that works! Your favorite incantation saves the day yet again :)
comment:6 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks.
Note: See
TracTickets for help on using
tickets.
Here on 10.5: