From owner-freebsd-alpha Tue Oct 8 10:53:15 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2E4F37B401; Tue, 8 Oct 2002 10:53:13 -0700 (PDT) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52E8543E42; Tue, 8 Oct 2002 10:53:13 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0355.cvx22-bradley.dialup.earthlink.net ([209.179.199.100] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17yyXe-0000mv-00; Tue, 08 Oct 2002 10:53:11 -0700 Message-ID: <3DA31B40.7B73FF94@mindspring.com> Date: Tue, 08 Oct 2002 10:52:00 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kennaway Cc: kde@FreeBSD.org, alpha@FreeBSD.org, re-alpha@FreeBSD.org Subject: Re: kdenetwork3 compile problems on alpha 4.x References: <20021008173617.GC54603@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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