Date: Tue, 08 Oct 2002 10:52:00 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Kris Kennaway <kris@obsecurity.org> Cc: kde@FreeBSD.org, alpha@FreeBSD.org, re-alpha@FreeBSD.org Subject: Re: kdenetwork3 compile problems on alpha 4.x Message-ID: <3DA31B40.7B73FF94@mindspring.com> References: <20021008173617.GC54603@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote: > Can someone please look at this ASAP? This is holding up the release. > > http://beta.freebsd.org/errorlogs/4-latest/kdenetwork-3.0.3.log Uh, get rid of the "-O2": c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libkdenetwork -I../mimelib -I/usr/local/include -I/usr/X11R6/include -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -DNDEBUG -DNO_DEBUG -O2 -O0 -fno-exceptions -fno-check-new -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DKDE_NO_COMPAT -DKDE_NO_COMPAT_H -DQT_NO_COMPAT -c -o kmail.all_cpp.o `test -f kmail.all_cpp.cpp || echo './'`kmail.all_cpp.cpp cc1plus: warning: *** *** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM *** I don't know where 'kmail.all_cpp.cpp' comes from; it may be that it will have to be split up into seperate objects, particularly if it's generated. c++ -DNDEBUG -DNO_DEBUG -O2 -O0 -fno-exceptions -fno-check-new -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DKDE_NO_COMPAT -DKDE_NO_COMPAT_H -DQT_NO_COMPAT -o .libs/kmail -pthread kmail.all_cpp.o -Wl,-export-dynamic -L/usr/X11R6/lib -L/usr/local/lib /usr/local/lib/libkhtml.so -L/usr/lib /usr/local/lib/libkjava.so /usr/local/lib/libkdeprint.so /usr/local/lib/libkparts.so /usr/local/lib/libkio.so /usr/local/lib/libkdesu.so -lutil ../libkdenetwork/.libs/libkdenetwork.so /usr/local/lib/libkspell.so ../mimelib/.libs/libmimelib.so /usr/local/lib/libkabc.so /usr/local/lib/libvcard.so /usr/local/lib/libkdeui.so /usr/local/lib/libkdecore.so /usr/local/lib/libDCOP.so /usr/local/lib/libkdefx.so -lqt-mt -lpng -lz -lXext -lX11 -lSM -lICE -lXrender -lstdc++ -lm -lgcc -ljpeg -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib /usr/libexec/elf/ld: kmail.all_cpp.o: .got subsegment exceeds 64K (size 67056) This is probably fixable by linking against the libraries, rather that directly linking the shared objects themselves. Linking library object files instead of libraries is generally a bad practice. It may also be that you could 'static' a few things. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DA31B40.7B73FF94>