Opened 15 years ago

Closed 15 years ago

#20209 closed defect (invalid)

libtool x86_64:

Reported by: cerieljacobs@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: x86_64 Cc:
Port: libtool

Description

I have set my universal to x86_64.

When trying to install or upgrade libtool, this fails, ending with this debugging output:

libtool: link: ( cd "libltdl/.libs" && rm -f "dlopen.la" && ln -s "../dlopen.la" "dlopen.la" )
/bin/sh ./libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -fast -march=nocona -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-min=10.5 -no-undefined -version-info 9:0:2 -dlpreopen libltdl/dlopen.la  -L/opt/local/lib -arch x86_64 -mmacosx-version-min=10.5 -o libltdl/libltdl.la -rpath /opt/local/lib libltdl/loaders/libltdl_libltdl_la-preopen.lo libltdl/libltdl_libltdl_la-lt__alloc.lo libltdl/libltdl_libltdl_la-lt_dlloader.lo libltdl/libltdl_libltdl_la-lt_error.lo libltdl/libltdl_libltdl_la-ltdl.lo libltdl/libltdl_libltdl_la-slist.lo libltdl/argz.lo 
libtool: link: not configured to extract global symbols from dlpreopened files
libtool: link: (cd libltdl/.libs/libltdl.lax/dlopen.a && ar x "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libtool/work/libtool-2.2.6/libltdl/.libs/dlopen.a")
libtool: link: /usr/bin/gcc-4.2 -dynamiclib  -o libltdl/.libs/libltdl.7.dylib  libltdl/loaders/.libs/libltdl_libltdl_la-preopen.o libltdl/.libs/libltdl_libltdl_la-lt__alloc.o libltdl/.libs/libltdl_libltdl_la-lt_dlloader.o libltdl/.libs/libltdl_libltdl_la-lt_error.o libltdl/.libs/libltdl_libltdl_la-ltdl.o libltdl/.libs/libltdl_libltdl_la-slist.o libltdl/.libs/argz.o   libltdl/.libs/libltdl.lax/dlopen.a/dlopen.o   -L/opt/local/lib  -march=nocona -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-min=10.5 -arch x86_64 -mmacosx-version-min=10.5   -install_name  /opt/local/lib/libltdl.7.dylib -compatibility_version 10 -current_version 10.0 -Wl,-single_module
Undefined symbols:
  "_lt_libltdl_LTX_preloaded_symbols", referenced from:
      _lt_dlinit in libltdl_libltdl_la-ltdl.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [libltdl/libltdl.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for libtool): org.macports.destroot org.macports.build
DEBUG: wrong # args: should be "md5 action ?file?"
    while executing
"md5 $fname"
Error: Unable to upgrade port: 1

A full debug output of both the initial php5 installation (which failed on libtool) and the force upgrade libtool are attached.

Attachments (3)

failed-libtool-upgrade.rtf.zip (365.0 KB) - added by cerieljacobs@… 15 years ago.
php-install-fails-on-libtool.rtf.zip (3.9 KB) - added by cerieljacobs@… 15 years ago.
php-install-fails-on-libtool.rtf (44.4 KB) - added by cerieljacobs@… 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by cerieljacobs@…

Changed 15 years ago by cerieljacobs@…

Changed 15 years ago by cerieljacobs@…

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

You've apparently modified base to use different CFLAGS and a different compiler, which is totally unsupported. Furthermore, if you want to build for x86_64, you're probably better off installing base from svn trunk and using the build_arch setting rather than abusing universal_archs.

Note: See TracTickets for help on using tickets.