Opened 16 years ago
Closed 15 years ago
#16300 closed defect (fixed)
e2fsprogs: common symbols not allowed with MH_DYLIB output format with the -multi_module option
Reported by: | joshua.friedman@… | Owned by: | misc@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | niel.drummond@…, nils@…, ryandesign (Ryan Carsten Schmidt) | |
Port: | e2fsprogs |
Description (last modified by jmroot (Joshua Root))
I'm on os x 10.4 and e2fsprogs is failing to link.
making all in lib/ext2fs GEN_BSD_SOLIB libext2fs.2.1.dylib ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option tdb.o definition of common _tdb_null (size 8) /usr/bin/libtool: internal link edit command failed make[2]: *** [libext2fs.2.1.dylib] Error 1 make[1]: *** [all-libs-recursive] Error 1 make: *** [all] Error 2
Attachments (1)
Change History (10)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Milestone: | → Port Bugs |
---|---|
Owner: | changed from macports-tickets@… to misc@… |
comment:2 Changed 16 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Port: | e2fsprogs added |
comment:3 Changed 16 years ago by bdenckla@…
Here's some observations I can add that are possibly useful: (a) I can reproduce this problem, (b) it goes away if I remove --enable-bsd-shlibs, and (c) it does not exist on 10.5.
Changed 16 years ago by niel.drummond@…
Attachment: | patch-lib__Makefile.darwin-lib added |
---|
comment:5 follow-up: 9 Changed 16 years ago by niel.drummond@…
modified patch in /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/e2fsprogs/files/patch-lib__Makefile.darwin-lib which passes compile ( reference http://www.mail-archive.com/gcc@gcc.gnu.org/msg05799.html ).
comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | e2fsprogs-1.40.6 Configuration error - build failure → e2fsprogs: common symbols not allowed with MH_DYLIB output format with the -multi_module option |
---|
The problem is Tiger-specific and remains with 1.41.8 to which I just updated the port.
#20548 suggests the solution:
Add
CFLAGS = -O2 -fno-common
in file: lib/ext2fs/Makefile
I have not tested this.
comment:9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Replying to niel.drummond@…:
modified patch in /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/e2fsprogs/files/patch-lib__Makefile.darwin-lib which passes compile ( reference http://www.mail-archive.com/gcc@gcc.gnu.org/msg05799.html ).
I committed your update in r55267, which I agree does seem to allow the build on Tiger, and does not seem to affect the build on Leopard.
Assigning to maintainer.