Opened 10 years ago

Closed 6 years ago

#45213 closed defect (invalid)

Building GNU Emacs 24.3.93 outside MacPorts with gcc49 fails when linking

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: gcc49

Description

This happens on PPC Leopard, Mac OS X 10.5.8, with a G4 CPU, PowerPC 7447A. With port I selected GCC 4.9.1 to become the selected GCC. The I configured GNU Emacs 24.3.93 à la

env LANG=C PATH=/opt/local/bin:/usr/bin:$PATH ./configure --without-pop --without-sound --without-gpm --without-dbus --without-gconf --without-gsettings --without-selinux --without-xim --without-imagemagick --disable-acl --with-wide-int --with-x-toolkit=athena --disable-ns-self-contained --x-libraries=/opt/local/lib --x-includes=/opt/local/include --enable-locallisppath=/Library/Application\ Support/Emacs/calendar24:/Library/Application\ Support/Emacs CPP=cpp CC=gcc CXX=g++ LD=g++ CFLAGS="-g -ggdb3 -fdce -fdse -free -flto -H -pipe -fPIC -fno-common -Os -maltivec -faltivec -mabi=altivec -mcpu=7450 -mtune=7450" LDFLAGS="-Wl,-bind_at_load -Wl,-t -Wl,-v" PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/opt/local/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig:/usr/lib/pkgconfig

Without the new CFLAGS "-fdce -fdse -free -flto" it builds with

	gcc42
	llvm-gcc42
	mp-gcc48

but not with "mp-gcc49 (active)" (I have not tried yet gcc40). Before the failure a few binaries are built OK, for example:

gcc -std=gnu99     -I. -I../src -I../lib -I. -I./../src -I./../lib  -Wl,-bind_at_load -Wl,-t -Wl,-v -L/opt/local/lib  -g -ggdb3 -fdce -fdse -free -flto -H -pipe -fPIC -fno-common -Os -maltivec -faltivec -mabi=altivec -mcpu=7450 -mtune=7450 ./emacsclient.c \
	   -DVERSION="\"24.3.93\""  ../lib/libgnu.a   \
	     -o emacsclient
. ../src/config.h
.. ../src/conf_post.h
... /opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/include/stdbool.h
... ../lib/alloca.h
... ../lib/string.h
.... /usr/include/string.h
..... /usr/include/_types.h
...... /usr/include/sys/_types.h
....... /usr/include/sys/cdefs.h
....... /usr/include/machine/_types.h
........ /usr/include/ppc/_types.h
.... /opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/include/stddef.h
... ../lib/stdlib.h
.... /usr/include/stdlib.h
..... /usr/include/available.h
..... /usr/include/sys/wait.h
...... /usr/include/sys/signal.h
....... /usr/include/sys/appleapiopts.h
....... /usr/include/machine/signal.h
........ /usr/include/ppc/signal.h
......... /usr/include/ppc/_structs.h
....... /usr/include/sys/_structs.h
........ /usr/include/machine/_structs.h
......... /usr/include/ppc/_structs.h
.......... /usr/include/mach/ppc/_structs.h
...... /usr/include/sys/resource.h
....... /usr/include/sys/_structs.h
...... /usr/include/machine/endian.h
....... /usr/include/ppc/endian.h
........ /usr/include/sys/_endian.h
..... /usr/include/machine/types.h
...... /usr/include/ppc/types.h
.... /opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/include/stddef.h
. ../src/syswait.h
.. ../lib/sys/types.h
... /usr/include/sys/types.h
.... /usr/include/sys/_structs.h
. /usr/include/netinet/in.h
.. /opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/include/stdint.h
... /opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/include-fixed/stdint.h
.. /usr/include/sys/socket.h
... /usr/include/machine/_param.h
.... /usr/include/ppc/_param.h
.. /usr/include/netinet6/in6.h
. ../lib/sys/types.h
. /usr/include/sys/un.h
. /usr/include/arpa/inet.h
. /opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/include/stdarg.h
. /usr/include/ctype.h
.. /usr/include/runetype.h
. ../lib/stdio.h
.. /usr/include/stdio.h
.. /opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/include/stddef.h
.. ../lib/sys/types.h
. ../lib/getopt.h
.. /usr/include/getopt.h
... ../lib/unistd.h
.... /usr/include/unistd.h
..... /usr/include/sys/unistd.h
..... ../lib/sys/select.h
...... ../lib/sys/types.h
...... ../lib/sys/time.h
....... /usr/include/sys/time.h
........ /usr/include/sys/_structs.h
........ ../lib/time.h
......... /usr/include/time.h
.......... /usr/include/_structs.h
........... /usr/include/sys/_structs.h
......... /opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/include/stddef.h
........ /usr/include/sys/_select.h
...... /usr/include/sys/select.h
....... /usr/include/sys/_structs.h
...... ../lib/signal.h
....... ../lib/sys/types.h
....... /usr/include/signal.h
....... /usr/include/pthread.h
........ /usr/include/pthread_impl.h
........ /usr/include/sched.h
........ ../lib/time.h
.... /opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/include/stddef.h
.... ../lib/stdlib.h
.... ../lib/sys/types.h
.... /usr/include/crt_externs.h
. /usr/include/pwd.h
. ../lib/sys/stat.h
.. ../lib/sys/types.h
.. ../lib/time.h
.. /usr/include/sys/stat.h
... /usr/include/sys/_structs.h
. ../lib/signal.h
. ../lib/errno.h
.. /usr/include/errno.h
... /usr/include/sys/errno.h
Multiple include guards may be useful for:
../src/conf_post.h
/usr/include/_structs.h
/usr/include/crt_externs.h
/usr/include/errno.h
/usr/include/machine/_param.h
/usr/include/machine/_structs.h
/usr/include/netinet6/in6.h
collect2 version 4.9.1
/opt/local/bin/ld -dynamic -arch ppc7450 -macosx_version_min 10.5.8 -weak_reference_mismatches non-weak -o emacsclient -lcrt1.10.5.o -L/opt/local/lib -L/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1 -L/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/../../.. -bind_at_load -t -v /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//ccP89YcQ.o ../lib/libgnu.a -lgcc_s.10.5 -lgcc_ext.10.5 -lgcc -lSystemStubs -lSystem
/usr/lib/crt1.10.5.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//ccP89YcQ.o
../lib/libgnu.a
/usr/lib/libgcc_s.10.5.dylib
/opt/local/lib/gcc49/libgcc_ext.10.5.dylib
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a
/usr/lib/libSystemStubs.a
/usr/lib/libSystem.dylib
/usr/lib/system/libmathCommon.A.dylib
../lib/libgnu.a(stat.o)
../lib/libgnu.a(fdatasync.o)
../lib/libgnu.a(getopt.o)
../lib/libgnu.a(getopt1.o)
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a(darwin-gpsave.o)
@(#)PROGRAM:ld  PROJECT:ld64-97.17
Library search paths:
	/opt/local/lib
	/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1
	/opt/local/lib/gcc49
	/usr/lib
	/usr/local/lib
Framework search paths:
	/Library/Frameworks/
	/System/Library/Frameworks/
 /opt/local/bin/gnm -n /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//ccP89YcQ.o
/opt/local/libexec/gcc/ppc-apple-darwin9/4.9.1/lto-wrapper /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//ccP89YcQ.o
/opt/local/bin/ld -dynamic -arch ppc7450 -macosx_version_min 10.5.8 -weak_reference_mismatches non-weak -o emacsclient -lcrt1.10.5.o -L/opt/local/lib -L/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1 -L/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/../../.. -bind_at_load -t -v /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//ccOjCLGQ.ltrans0.ltrans.o ../lib/libgnu.a -lgcc_s.10.5 -lgcc_ext.10.5 -lgcc -lSystemStubs -lSystem
@(#)PROGRAM:ld  PROJECT:ld64-97.17
Library search paths:
	/opt/local/lib
	/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1
	/opt/local/lib/gcc49
	/usr/lib
	/usr/local/lib
Framework search paths:
	/Library/Frameworks/
	/System/Library/Frameworks/
/usr/lib/crt1.10.5.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//ccOjCLGQ.ltrans0.ltrans.o
../lib/libgnu.a
/usr/lib/libgcc_s.10.5.dylib
/opt/local/lib/gcc49/libgcc_ext.10.5.dylib
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a
/usr/lib/libSystemStubs.a
/usr/lib/libSystem.dylib
/usr/lib/system/libmathCommon.A.dylib
../lib/libgnu.a(stat.o)
../lib/libgnu.a(fdatasync.o)
../lib/libgnu.a(getopt.o)
../lib/libgnu.a(getopt1.o)
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a(darwin-gpsave.o)
dsymutil emacsclient

The build fails here:

gcc -std=gnu99 -Demacs  -I. -I. -I../lib -I./../lib   -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include     -D_REENTRANT -I/opt/local/include/librsvg-2.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include   -I/opt/local/include/libxml2   -I/opt/local/include  -I/opt/local/include   -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16  -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16  -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16   -MMD -MF deps/.d -MP -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include  -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include    -g -ggdb3 -fdce -fdse -free -flto -H -pipe -fPIC -fno-common -Os -maltivec -faltivec -mabi=altivec -mcpu=7450 -mtune=7450  -fno-pie -prebind  -Xlinker -headerpad -Xlinker 690 -Wl,-bind_at_load -Wl,-t -Wl,-v -L/opt/local/lib \
	  -o temacs   dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o   emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexmacosx.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o gfilenotify.o profiler.o decompress.o      xfont.o ftfont.o xftfont.o ftxfont.o  fontset.o fringe.o image.o xgselect.o   terminfo.o lastfile.o    widget.o  ../lib/libgnu.a     ../lwlib/liblw.a  -ltiff -ljpeg -lpng16 -lz -lm -lgif -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXext -lX11 -lXrender -L/opt/local/lib -lXft   -L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo          -L/opt/local/lib -lXrandr  -L/opt/local/lib -lXinerama  -L/opt/local/lib -lxml2     -lncurses    -L/opt/local/lib -lfreetype  -L/opt/local/lib -lfontconfig -lfreetype  -L/opt/local/lib -lfreetype -lz -lbz2 -lotf -lfreetype   -L/opt/local/lib -lgnutls  -lpthread  -L/opt/local/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl   -lz
collect2 version 4.9.1
/opt/local/bin/ld -dynamic -arch ppc7450 -macosx_version_min 10.5.8 -prebind -weak_reference_mismatches non-weak -o temacs -lcrt1.10.5.o -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1 -L/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/../../.. -headerpad 690 -bind_at_load -t -v dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexmacosx.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o gfilenotify.o profiler.o decompress.o xfont.o ftfont.o xftfont.o ftxfont.o fontset.o fringe.o image.o xgselect.o terminfo.o lastfile.o widget.o ../lib/libgnu.a ../lwlib/liblw.a -ltiff -ljpeg -lpng16 -lz -lgif -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXext -lX11 -lXrender -lXft -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lXrandr -lXinerama -lxml2 -lncurses -lfreetype -lfontconfig -lfreetype -lfreetype -lz -lbz2 -lotf -lfreetype -lgnutls -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lz -lgcc_s.10.5 -lgcc_ext.10.5 -lgcc -lSystemStubs -lSystem
/usr/lib/crt1.10.5.o
dispnew.o
frame.o
scroll.o
xdisp.o
menu.o
xmenu.o
window.o
charset.o
coding.o
category.o
ccl.o
character.o
chartab.o
bidi.o
cm.o
term.o
terminal.o
xfaces.o
xterm.o
xfns.o
xselect.o
xrdb.o
xsmfns.o
xsettings.o
emacs.o
keyboard.o
macros.o
keymap.o
sysdep.o
buffer.o
filelock.o
insdel.o
marker.o
minibuf.o
fileio.o
dired.o
cmds.o
casetab.o
casefiddle.o
indent.o
search.o
regex.o
undo.o
alloc.o
data.o
doc.o
editfns.o
callint.o
eval.o
floatfns.o
fns.o
font.o
print.o
lread.o
syntax.o
unexmacosx.o
bytecode.o
process.o
gnutls.o
callproc.o
region-cache.o
sound.o
atimer.o
doprnt.o
intervals.o
textprop.o
composite.o
xml.o
gfilenotify.o
profiler.o
decompress.o
xfont.o
ftfont.o
xftfont.o
ftxfont.o
fontset.o
fringe.o
image.o
xgselect.o
terminfo.o
lastfile.o
widget.o
../lib/libgnu.a
../lwlib/liblw.a
/opt/local/lib/libtiff.dylib
/opt/local/lib/libjpeg.dylib
/opt/local/lib/libpng16.dylib
/opt/local/lib/libz.dylib
/opt/local/lib/libgif.dylib
/opt/local/lib/libXpm.dylib
/opt/local/lib/libXaw3d.dylib
/opt/local/lib/libXmu.dylib
/opt/local/lib/libXt.dylib
/opt/local/lib/libSM.dylib
/opt/local/lib/libICE.dylib
/opt/local/lib/libXext.dylib
/opt/local/lib/libX11.dylib
/opt/local/lib/libXrender.dylib
/opt/local/lib/libXft.dylib
/opt/local/lib/librsvg-2.dylib
/opt/local/lib/libgio-2.0.dylib
/opt/local/lib/libgdk_pixbuf-2.0.dylib
/opt/local/lib/libgobject-2.0.dylib
/opt/local/lib/libglib-2.0.dylib
/opt/local/lib/libintl.dylib
/opt/local/lib/libcairo.dylib
/opt/local/lib/libXrandr.dylib
/opt/local/lib/libXinerama.dylib
/opt/local/lib/libxml2.dylib
/opt/local/lib/libncurses.dylib
/opt/local/lib/libfreetype.dylib
/opt/local/lib/libfontconfig.dylib
/opt/local/lib/libbz2.dylib
/opt/local/lib/libotf.dylib
/opt/local/lib/libgnutls.dylib
/usr/lib/libgcc_s.10.5.dylib
/opt/local/lib/gcc49/libgcc_ext.10.5.dylib
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a
/usr/lib/libSystemStubs.a
/usr/lib/libSystem.dylib
/usr/lib/system/libmathCommon.A.dylib
../lib/libgnu.a(fstatat.o)
../lib/libgnu.a(c-ctype.o)
../lib/libgnu.a(sha512.o)
../lib/libgnu.a(c-strcasecmp.o)
../lib/libgnu.a(faccessat.o)
../lib/libgnu.a(memrchr.o)
../lib/libgnu.a(pipe2.o)
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a(darwin-gpsave.o)
../lib/libgnu.a(mkostemp.o)
../lwlib/liblw.a(lwlib.o)
../lib/libgnu.a(fcntl.o)
../lib/libgnu.a(sig2str.o)
../lib/libgnu.a(close-stream.o)
../lib/libgnu.a(md5.o)
../lib/libgnu.a(careadlinkat.o)
../lib/libgnu.a(strftime.o)
../lwlib/liblw.a(xlwmenu.o)
../lib/libgnu.a(symlink.o)
../lib/libgnu.a(filemode.o)
../lib/libgnu.a(dtoastr.o)
../lib/libgnu.a(utimens.o)
../lib/libgnu.a(sha1.o)
../lib/libgnu.a(stat.o)
../lib/libgnu.a(dtotimespec.o)
../lib/libgnu.a(fdopendir.o)
../lib/libgnu.a(lstat.o)
../lib/libgnu.a(putenv.o)
../lib/libgnu.a(sha256.o)
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a(darwin-world.o)
../lib/libgnu.a(fdatasync.o)
../lib/libgnu.a(fpending.o)
../lib/libgnu.a(pthread_sigmask.o)
../lib/libgnu.a(readlinkat.o)
../lib/libgnu.a(qcopy-acl.o)
../lib/libgnu.a(timespec-add.o)
../lib/libgnu.a(gettime.o)
../lib/libgnu.a(timespec-sub.o)
../lwlib/liblw.a(lwlib-Xlw.o)
../lwlib/liblw.a(lwlib-Xaw.o)
../lib/libgnu.a(openat-die.o)
../lib/libgnu.a(qset-acl.o)
../lib/libgnu.a(readlink.o)
../lib/libgnu.a(save-cwd.o)
../lib/libgnu.a(tempname.o)
../lib/libgnu.a(openat-proc.o)
../lwlib/liblw.a(lwlib-utils.o)
../lib/libgnu.a(allocator.o)
../lib/libgnu.a(euidaccess.o)
../lib/libgnu.a(group-member.o)
@(#)PROGRAM:ld  PROJECT:ld64-97.17
Library search paths:
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1
	/opt/local/lib/gcc49
	/usr/lib
	/usr/local/lib
Framework search paths:
	/Library/Frameworks/
	/System/Library/Frameworks/
 /opt/local/bin/gnm -n dispnew.o
 /opt/local/bin/gnm -n frame.o
 /opt/local/bin/gnm -n scroll.o
 /opt/local/bin/gnm -n xdisp.o
 /opt/local/bin/gnm -n menu.o
 /opt/local/bin/gnm -n xmenu.o
 /opt/local/bin/gnm -n window.o
 /opt/local/bin/gnm -n charset.o
 /opt/local/bin/gnm -n coding.o
 /opt/local/bin/gnm -n category.o
 /opt/local/bin/gnm -n ccl.o
 /opt/local/bin/gnm -n character.o
 /opt/local/bin/gnm -n chartab.o
 /opt/local/bin/gnm -n bidi.o
 /opt/local/bin/gnm -n cm.o
 /opt/local/bin/gnm -n term.o
 /opt/local/bin/gnm -n terminal.o
 /opt/local/bin/gnm -n xfaces.o
 /opt/local/bin/gnm -n xterm.o
 /opt/local/bin/gnm -n xfns.o
 /opt/local/bin/gnm -n xselect.o
 /opt/local/bin/gnm -n xrdb.o
 /opt/local/bin/gnm -n xsmfns.o
 /opt/local/bin/gnm -n xsettings.o
 /opt/local/bin/gnm -n emacs.o
 /opt/local/bin/gnm -n keyboard.o
 /opt/local/bin/gnm -n macros.o
 /opt/local/bin/gnm -n keymap.o
 /opt/local/bin/gnm -n sysdep.o
 /opt/local/bin/gnm -n buffer.o
 /opt/local/bin/gnm -n filelock.o
 /opt/local/bin/gnm -n insdel.o
 /opt/local/bin/gnm -n marker.o
 /opt/local/bin/gnm -n minibuf.o
 /opt/local/bin/gnm -n fileio.o
 /opt/local/bin/gnm -n dired.o
 /opt/local/bin/gnm -n cmds.o
 /opt/local/bin/gnm -n casetab.o
 /opt/local/bin/gnm -n casefiddle.o
 /opt/local/bin/gnm -n indent.o
 /opt/local/bin/gnm -n search.o
 /opt/local/bin/gnm -n regex.o
 /opt/local/bin/gnm -n undo.o
 /opt/local/bin/gnm -n alloc.o
 /opt/local/bin/gnm -n data.o
 /opt/local/bin/gnm -n doc.o
 /opt/local/bin/gnm -n editfns.o
 /opt/local/bin/gnm -n callint.o
 /opt/local/bin/gnm -n eval.o
 /opt/local/bin/gnm -n floatfns.o
 /opt/local/bin/gnm -n fns.o
 /opt/local/bin/gnm -n font.o
 /opt/local/bin/gnm -n print.o
 /opt/local/bin/gnm -n lread.o
 /opt/local/bin/gnm -n syntax.o
 /opt/local/bin/gnm -n unexmacosx.o
 /opt/local/bin/gnm -n bytecode.o
 /opt/local/bin/gnm -n process.o
 /opt/local/bin/gnm -n gnutls.o
 /opt/local/bin/gnm -n callproc.o
 /opt/local/bin/gnm -n region-cache.o
 /opt/local/bin/gnm -n sound.o
 /opt/local/bin/gnm -n atimer.o
 /opt/local/bin/gnm -n doprnt.o
 /opt/local/bin/gnm -n intervals.o
 /opt/local/bin/gnm -n textprop.o
 /opt/local/bin/gnm -n composite.o
 /opt/local/bin/gnm -n xml.o
 /opt/local/bin/gnm -n gfilenotify.o
 /opt/local/bin/gnm -n profiler.o
 /opt/local/bin/gnm -n decompress.o
 /opt/local/bin/gnm -n xfont.o
 /opt/local/bin/gnm -n ftfont.o
 /opt/local/bin/gnm -n xftfont.o
 /opt/local/bin/gnm -n ftxfont.o
 /opt/local/bin/gnm -n fontset.o
 /opt/local/bin/gnm -n fringe.o
 /opt/local/bin/gnm -n image.o
 /opt/local/bin/gnm -n xgselect.o
 /opt/local/bin/gnm -n terminfo.o
 /opt/local/bin/gnm -n lastfile.o
 /opt/local/bin/gnm -n widget.o
/opt/local/libexec/gcc/ppc-apple-darwin9/4.9.1/lto-wrapper dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexmacosx.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o gfilenotify.o profiler.o decompress.o xfont.o ftfont.o xftfont.o ftxfont.o fontset.o fringe.o image.o xgselect.o terminfo.o lastfile.o widget.o
/opt/local/bin/ld -dynamic -arch ppc7450 -macosx_version_min 10.5.8 -prebind -weak_reference_mismatches non-weak -o temacs -lcrt1.10.5.o -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1 -L/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/../../.. -headerpad 690 -bind_at_load -t -v /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans0.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans1.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans2.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans3.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans4.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans5.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans6.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans7.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans8.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans9.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans10.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans11.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans12.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans13.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans14.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans15.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans16.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans17.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans18.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans19.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans20.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans21.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans22.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans23.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans24.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans25.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans26.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans27.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans28.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans29.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans30.ltrans.o /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans31.ltrans.o ../lib/libgnu.a ../lwlib/liblw.a -ltiff -ljpeg -lpng16 -lz -lgif -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXext -lX11 -lXrender -lXft -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lXrandr -lXinerama -lxml2 -lncurses -lfreetype -lfontconfig -lfreetype -lfreetype -lz -lbz2 -lotf -lfreetype -lgnutls -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lz -lgcc_s.10.5 -lgcc_ext.10.5 -lgcc -lSystemStubs -lSystem
@(#)PROGRAM:ld  PROJECT:ld64-97.17
Library search paths:
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1
	/opt/local/lib/gcc49
	/usr/lib
	/usr/local/lib
Framework search paths:
	/Library/Frameworks/
	/System/Library/Frameworks/
/usr/lib/crt1.10.5.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans0.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans1.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans2.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans3.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans4.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans5.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans6.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans7.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans8.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans9.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans10.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans11.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans12.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans13.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans14.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans15.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans16.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans17.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans18.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans19.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans20.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans21.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans22.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans23.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans24.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans25.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans26.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans27.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans28.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans29.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans30.ltrans.o
/var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans31.ltrans.o
../lib/libgnu.a
../lwlib/liblw.a
/opt/local/lib/libtiff.dylib
/opt/local/lib/libjpeg.dylib
/opt/local/lib/libpng16.dylib
/opt/local/lib/libz.dylib
/opt/local/lib/libgif.dylib
/opt/local/lib/libXpm.dylib
/opt/local/lib/libXaw3d.dylib
/opt/local/lib/libXmu.dylib
/opt/local/lib/libXt.dylib
/opt/local/lib/libSM.dylib
/opt/local/lib/libICE.dylib
/opt/local/lib/libXext.dylib
/opt/local/lib/libX11.dylib
/opt/local/lib/libXrender.dylib
/opt/local/lib/libXft.dylib
/opt/local/lib/librsvg-2.dylib
/opt/local/lib/libgio-2.0.dylib
/opt/local/lib/libgdk_pixbuf-2.0.dylib
/opt/local/lib/libgobject-2.0.dylib
/opt/local/lib/libglib-2.0.dylib
/opt/local/lib/libintl.dylib
/opt/local/lib/libcairo.dylib
/opt/local/lib/libXrandr.dylib
/opt/local/lib/libXinerama.dylib
/opt/local/lib/libxml2.dylib
/opt/local/lib/libncurses.dylib
/opt/local/lib/libfreetype.dylib
/opt/local/lib/libfontconfig.dylib
/opt/local/lib/libbz2.dylib
/opt/local/lib/libotf.dylib
/opt/local/lib/libgnutls.dylib
/usr/lib/libgcc_s.10.5.dylib
/opt/local/lib/gcc49/libgcc_ext.10.5.dylib
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a
/usr/lib/libSystemStubs.a
/usr/lib/libSystem.dylib
/usr/lib/system/libmathCommon.A.dylib
../lib/libgnu.a(fstatat.o)
../lib/libgnu.a(c-ctype.o)
../lib/libgnu.a(sha512.o)
../lib/libgnu.a(c-strcasecmp.o)
../lib/libgnu.a(faccessat.o)
../lib/libgnu.a(memrchr.o)
../lib/libgnu.a(pipe2.o)
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a(darwin-gpsave.o)
../lib/libgnu.a(mkostemp.o)
../lwlib/liblw.a(lwlib.o)
../lib/libgnu.a(fcntl.o)
../lib/libgnu.a(sig2str.o)
../lib/libgnu.a(close-stream.o)
../lib/libgnu.a(md5.o)
../lib/libgnu.a(careadlinkat.o)
../lib/libgnu.a(strftime.o)
../lwlib/liblw.a(xlwmenu.o)
../lib/libgnu.a(symlink.o)
../lib/libgnu.a(filemode.o)
../lib/libgnu.a(dtoastr.o)
../lib/libgnu.a(utimens.o)
../lib/libgnu.a(sha1.o)
../lib/libgnu.a(stat.o)
../lib/libgnu.a(dtotimespec.o)
../lib/libgnu.a(fdopendir.o)
../lib/libgnu.a(lstat.o)
../lib/libgnu.a(putenv.o)
../lib/libgnu.a(sha256.o)
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a(darwin-world.o)
../lib/libgnu.a(fdatasync.o)
../lib/libgnu.a(fpending.o)
../lib/libgnu.a(pthread_sigmask.o)
../lib/libgnu.a(readlinkat.o)
../lib/libgnu.a(qcopy-acl.o)
../lib/libgnu.a(timespec-add.o)
../lib/libgnu.a(gettime.o)
../lib/libgnu.a(timespec-sub.o)
../lwlib/liblw.a(lwlib-Xlw.o)
../lwlib/liblw.a(lwlib-Xaw.o)
../lib/libgnu.a(openat-die.o)
../lib/libgnu.a(qset-acl.o)
../lib/libgnu.a(readlink.o)
../lib/libgnu.a(save-cwd.o)
../lib/libgnu.a(tempname.o)
../lib/libgnu.a(openat-proc.o)
../lwlib/liblw.a(lwlib-utils.o)
../lib/libgnu.a(allocator.o)
../lib/libgnu.a(euidaccess.o)
../lib/libgnu.a(group-member.o)
ld: absolute address to symbol _XtShellStrings in a different linkage unit not supported in _update_wm_hints.lto_priv.415 from /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//cculVpN8.ltrans0.ltrans.o
collect2: error: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make: *** [src] Error 2

The reason "in a different linkage unit not supported in" reminds me of Clang…

I am going to try builds not using all the four CFLAGS "-fdce -fdse -free -flto". But there is also the hack "--with-wide-int", so this should be the first retry. Leaving this configure option away the failure is, in temacs:

ld: absolute address to symbol _rint in a different linkage unit not supported in _Fround from /var/folders/PR/PR9ZvjydEAmPxO7U5PFnBk+++TI/-Tmp-//ccbEa0jX.ltrans3.ltrans.o

GCC 4.9.1 finds always what 4.8.3 has not: "checking for working stdalign.h... yes"

Change History (4)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: mww@… removed
Keywords: "different linkage unit not supported" removed
Owner: changed from macports-tickets@… to mww@…

comment:2 in reply to:  description Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Performing the build without -flto builds GNU Emacs:

gcc -std=gnu99 -Demacs  -I. -I. -I../lib -I./../lib   -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include     -D_REENTRANT -I/opt/local/include/librsvg-2.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include   -I/opt/local/include/libxml2   -I/opt/local/include  -I/opt/local/include   -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16  -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16  -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16   -MMD -MF deps/.d -MP -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include  -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include    -g -ggdb3 -fdce -fdse -free -H -pipe -fPIC -fno-common -Os -maltivec -faltivec -mabi=altivec -mcpu=7450 -mtune=7450  -fno-pie -prebind  -Xlinker -headerpad -Xlinker 690 -Wl,-bind_at_load -Wl,-t -Wl,-v -L/opt/local/lib \
	  -o temacs   dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o   emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexmacosx.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o gfilenotify.o profiler.o decompress.o      xfont.o ftfont.o xftfont.o ftxfont.o  fontset.o fringe.o image.o xgselect.o   terminfo.o lastfile.o    widget.o  ../lib/libgnu.a     ../lwlib/liblw.a  -ltiff -ljpeg -lpng16 -lz -lm -lgif -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXext -lX11 -lXrender -L/opt/local/lib -lXft   -L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo          -L/opt/local/lib -lXrandr  -L/opt/local/lib -lXinerama  -L/opt/local/lib -lxml2     -lncurses    -L/opt/local/lib -lfreetype  -L/opt/local/lib -lfontconfig -lfreetype  -L/opt/local/lib -lfreetype -lz -lbz2 -lotf -lfreetype   -L/opt/local/lib -lgnutls  -lpthread  -L/opt/local/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl   -lz
collect2 version 4.9.1
/opt/local/bin/ld -dynamic -arch ppc7450 -macosx_version_min 10.5.8 -prebind -weak_reference_mismatches non-weak -o temacs -lcrt1.10.5.o -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1 -L/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/../../.. -headerpad 690 -bind_at_load -t -v dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexmacosx.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o gfilenotify.o profiler.o decompress.o xfont.o ftfont.o xftfont.o ftxfont.o fontset.o fringe.o image.o xgselect.o terminfo.o lastfile.o widget.o ../lib/libgnu.a ../lwlib/liblw.a -ltiff -ljpeg -lpng16 -lz -lgif -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXext -lX11 -lXrender -lXft -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lXrandr -lXinerama -lxml2 -lncurses -lfreetype -lfontconfig -lfreetype -lfreetype -lz -lbz2 -lotf -lfreetype -lgnutls -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lz -lgcc_s.10.5 -lgcc_ext.10.5 -lgcc -lSystemStubs -lSystem
/usr/lib/crt1.10.5.o
dispnew.o
frame.o
scroll.o
xdisp.o
menu.o
xmenu.o
window.o
charset.o
coding.o
category.o
ccl.o
character.o
chartab.o
bidi.o
cm.o
term.o
terminal.o
xfaces.o
xterm.o
xfns.o
xselect.o
xrdb.o
xsmfns.o
xsettings.o
emacs.o
keyboard.o
macros.o
keymap.o
sysdep.o
buffer.o
filelock.o
insdel.o
marker.o
minibuf.o
fileio.o
dired.o
cmds.o
casetab.o
casefiddle.o
indent.o
search.o
regex.o
undo.o
alloc.o
data.o
doc.o
editfns.o
callint.o
eval.o
floatfns.o
fns.o
font.o
print.o
lread.o
syntax.o
unexmacosx.o
bytecode.o
process.o
gnutls.o
callproc.o
region-cache.o
sound.o
atimer.o
doprnt.o
intervals.o
textprop.o
composite.o
xml.o
gfilenotify.o
profiler.o
decompress.o
xfont.o
ftfont.o
xftfont.o
ftxfont.o
fontset.o
fringe.o
image.o
xgselect.o
terminfo.o
lastfile.o
widget.o
../lib/libgnu.a
../lwlib/liblw.a
/opt/local/lib/libtiff.dylib
/opt/local/lib/libjpeg.dylib
/opt/local/lib/libpng16.dylib
/opt/local/lib/libz.dylib
/opt/local/lib/libgif.dylib
/opt/local/lib/libXpm.dylib
/opt/local/lib/libXaw3d.dylib
/opt/local/lib/libXmu.dylib
/opt/local/lib/libXt.dylib
/opt/local/lib/libSM.dylib
/opt/local/lib/libICE.dylib
/opt/local/lib/libXext.dylib
/opt/local/lib/libX11.dylib
/opt/local/lib/libXrender.dylib
/opt/local/lib/libXft.dylib
/opt/local/lib/librsvg-2.dylib
/opt/local/lib/libgio-2.0.dylib
/opt/local/lib/libgdk_pixbuf-2.0.dylib
/opt/local/lib/libgobject-2.0.dylib
/opt/local/lib/libglib-2.0.dylib
/opt/local/lib/libintl.dylib
/opt/local/lib/libcairo.dylib
/opt/local/lib/libXrandr.dylib
/opt/local/lib/libXinerama.dylib
/opt/local/lib/libxml2.dylib
/opt/local/lib/libncurses.dylib
/opt/local/lib/libfreetype.dylib
/opt/local/lib/libfontconfig.dylib
/opt/local/lib/libbz2.dylib
/opt/local/lib/libotf.dylib
/opt/local/lib/libgnutls.dylib
/usr/lib/libgcc_s.10.5.dylib
/opt/local/lib/gcc49/libgcc_ext.10.5.dylib
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a
/usr/lib/libSystemStubs.a
/usr/lib/libSystem.dylib
/usr/lib/system/libmathCommon.A.dylib
../lib/libgnu.a(fstatat.o)
../lib/libgnu.a(c-ctype.o)
../lib/libgnu.a(sha512.o)
../lib/libgnu.a(c-strcasecmp.o)
../lib/libgnu.a(faccessat.o)
../lib/libgnu.a(memrchr.o)
../lib/libgnu.a(pipe2.o)
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a(darwin-gpsave.o)
../lib/libgnu.a(mkostemp.o)
../lwlib/liblw.a(lwlib.o)
../lib/libgnu.a(fcntl.o)
../lib/libgnu.a(sig2str.o)
../lib/libgnu.a(close-stream.o)
../lib/libgnu.a(md5.o)
../lib/libgnu.a(careadlinkat.o)
../lib/libgnu.a(strftime.o)
../lwlib/liblw.a(xlwmenu.o)
../lib/libgnu.a(symlink.o)
../lib/libgnu.a(filemode.o)
../lib/libgnu.a(dtoastr.o)
../lib/libgnu.a(utimens.o)
../lib/libgnu.a(sha1.o)
../lib/libgnu.a(stat.o)
../lib/libgnu.a(dtotimespec.o)
../lib/libgnu.a(fdopendir.o)
../lib/libgnu.a(lstat.o)
../lib/libgnu.a(putenv.o)
../lib/libgnu.a(sha256.o)
/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1/libgcc.a(darwin-world.o)
../lib/libgnu.a(fdatasync.o)
../lib/libgnu.a(fpending.o)
../lib/libgnu.a(pthread_sigmask.o)
../lib/libgnu.a(readlinkat.o)
../lib/libgnu.a(qcopy-acl.o)
../lib/libgnu.a(timespec-add.o)
../lib/libgnu.a(gettime.o)
../lib/libgnu.a(timespec-sub.o)
../lwlib/liblw.a(lwlib-Xlw.o)
../lwlib/liblw.a(lwlib-Xaw.o)
../lib/libgnu.a(openat-die.o)
../lib/libgnu.a(qset-acl.o)
../lib/libgnu.a(readlink.o)
../lib/libgnu.a(save-cwd.o)
../lib/libgnu.a(tempname.o)
../lib/libgnu.a(openat-proc.o)
../lwlib/liblw.a(lwlib-utils.o)
../lib/libgnu.a(allocator.o)
../lib/libgnu.a(euidaccess.o)
../lib/libgnu.a(group-member.o)
@(#)PROGRAM:ld  PROJECT:ld64-97.17
Library search paths:
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib
	/opt/local/lib/gcc49/gcc/ppc-apple-darwin9/4.9.1
	/opt/local/lib/gcc49
	/usr/lib
	/usr/local/lib
Framework search paths:
	/Library/Frameworks/
	/System/Library/Frameworks/
 /opt/local/bin/gnm -n dispnew.o
 /opt/local/bin/gnm -n frame.o
 /opt/local/bin/gnm -n scroll.o
 /opt/local/bin/gnm -n xdisp.o
 /opt/local/bin/gnm -n menu.o
 /opt/local/bin/gnm -n xmenu.o
 /opt/local/bin/gnm -n window.o
 /opt/local/bin/gnm -n charset.o
 /opt/local/bin/gnm -n coding.o
 /opt/local/bin/gnm -n category.o
 /opt/local/bin/gnm -n ccl.o
 /opt/local/bin/gnm -n character.o
 /opt/local/bin/gnm -n chartab.o
 /opt/local/bin/gnm -n bidi.o
 /opt/local/bin/gnm -n cm.o
 /opt/local/bin/gnm -n term.o
 /opt/local/bin/gnm -n terminal.o
 /opt/local/bin/gnm -n xfaces.o
 /opt/local/bin/gnm -n xterm.o
 /opt/local/bin/gnm -n xfns.o
 /opt/local/bin/gnm -n xselect.o
 /opt/local/bin/gnm -n xrdb.o
 /opt/local/bin/gnm -n xsmfns.o
 /opt/local/bin/gnm -n xsettings.o
 /opt/local/bin/gnm -n emacs.o
 /opt/local/bin/gnm -n keyboard.o
 /opt/local/bin/gnm -n macros.o
 /opt/local/bin/gnm -n keymap.o
 /opt/local/bin/gnm -n sysdep.o
 /opt/local/bin/gnm -n buffer.o
 /opt/local/bin/gnm -n filelock.o
 /opt/local/bin/gnm -n insdel.o
 /opt/local/bin/gnm -n marker.o
 /opt/local/bin/gnm -n minibuf.o
 /opt/local/bin/gnm -n fileio.o
 /opt/local/bin/gnm -n dired.o
 /opt/local/bin/gnm -n cmds.o
 /opt/local/bin/gnm -n casetab.o
 /opt/local/bin/gnm -n casefiddle.o
 /opt/local/bin/gnm -n indent.o
 /opt/local/bin/gnm -n search.o
 /opt/local/bin/gnm -n regex.o
 /opt/local/bin/gnm -n undo.o
 /opt/local/bin/gnm -n alloc.o
 /opt/local/bin/gnm -n data.o
 /opt/local/bin/gnm -n doc.o
 /opt/local/bin/gnm -n editfns.o
 /opt/local/bin/gnm -n callint.o
 /opt/local/bin/gnm -n eval.o
 /opt/local/bin/gnm -n floatfns.o
 /opt/local/bin/gnm -n fns.o
 /opt/local/bin/gnm -n font.o
 /opt/local/bin/gnm -n print.o
 /opt/local/bin/gnm -n lread.o
 /opt/local/bin/gnm -n syntax.o
 /opt/local/bin/gnm -n unexmacosx.o
 /opt/local/bin/gnm -n bytecode.o
 /opt/local/bin/gnm -n process.o
 /opt/local/bin/gnm -n gnutls.o
 /opt/local/bin/gnm -n callproc.o
 /opt/local/bin/gnm -n region-cache.o
 /opt/local/bin/gnm -n sound.o
 /opt/local/bin/gnm -n atimer.o
 /opt/local/bin/gnm -n doprnt.o
 /opt/local/bin/gnm -n intervals.o
 /opt/local/bin/gnm -n textprop.o
 /opt/local/bin/gnm -n composite.o
 /opt/local/bin/gnm -n xml.o
 /opt/local/bin/gnm -n gfilenotify.o
 /opt/local/bin/gnm -n profiler.o
 /opt/local/bin/gnm -n decompress.o
 /opt/local/bin/gnm -n xfont.o
 /opt/local/bin/gnm -n ftfont.o
 /opt/local/bin/gnm -n xftfont.o
 /opt/local/bin/gnm -n ftxfont.o
 /opt/local/bin/gnm -n fontset.o
 /opt/local/bin/gnm -n fringe.o
 /opt/local/bin/gnm -n image.o
 /opt/local/bin/gnm -n xgselect.o
 /opt/local/bin/gnm -n terminfo.o
 /opt/local/bin/gnm -n lastfile.o
 /opt/local/bin/gnm -n widget.o
/opt/local/bin/gmkdir -p ../etc

The built binary runs OK.

comment:3 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from mww@… to macports-tickets@…
Status: newassigned

comment:4 Changed 6 years ago by kencu (Ken)

Resolution: invalid
Status: assignedclosed

looks like this non-MacPorts issue was sorted out to the satisfaction of the OP.

Note: See TracTickets for help on using tickets.