[MacPorts] #45213: Building GNU Emacs 24.3.93 outside MacPorts with gcc49 fails when linking
MacPorts
noreply at macports.org
Mon Sep 29 15:54:15 PDT 2014
#45213: Building GNU Emacs 24.3.93 outside MacPorts with gcc49 fails when linking
------------------------------+-------------------
Reporter: Peter_Dyballa@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Resolution: | Keywords:
Port: gcc49 |
------------------------------+-------------------
Comment (by Peter_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.
--
Ticket URL: <https://trac.macports.org/ticket/45213#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list