Summary: | opensp does not compile with distcc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | klavs klavsen <kl> |
Component: | New packages | Assignee: | Alastair Tse (RETIRED) <liquidx> |
Status: | VERIFIED NEEDINFO | ||
Severity: | normal | CC: | lisa |
Priority: | High | ||
Version: | 1.4 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
klavs klavsen
2003-08-25 23:39:31 UTC
I've now tried to compile opensp on my desktop machine (which has kdevelop-0.3.0alpha4 - which appereantly does NOT require opensp - but alpha5 does - weird?) - anyways opensp compiles fine there, so I'm thinking the problem has to do with distcc somehow? I can compile my kernel, and kde-3.1.3 compiled just fine using distcc, so I'm a bit lost as to what is up here. Also, I started the install from stage3. which compiler version were you using with the box that had problems? it looks like gcc-3.3 ? can you post the output of emerge info ? output of emerge info (through ssh to the host, I had to boot on the grp-cd - to get the network pcmcia to work tulip_cb card - won't work on my own kernel - don't know why - I can only make the tulip_cb driver by installing pcmcia-cs-drivers - but I thought tulip_cb was part of the kernel - just can't get it activated/compiled with gentoo-sources-2.4.20-r6): ( I have ofcourse chrooted to my /mnt/gentoo and started sshd there). Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-xfs_pre2 i686 Pentium II (Deschutes) GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt motif opengl X kde alsa -gnome" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium2 -pipe -fomit-frame-pointer" CXXFLAGS="-O3 -march=pentium2 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache sandbox buildpkg distcc" it looks like the compiler bug rather than a problem with opensp. that is why i initially guessed you were using 3.3 (a buggy compiler). but it seems you are using 3.2.3. does that happen on all your machines or just one of them? can you try using some different optimisations to see if it'll help? like using -O2 or -O1 instead of -O3 I tried both -02 and -01, and with -03 - and now it fails here : : undefined reference to `operator delete(void*)' StringSet.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' ../lib/.libs/libosp.so: undefined reference to `typeinfo for std::bad_alloc' ../lib/.libs/libosp.so: undefined reference to `__cxa_end_catch' ../lib/.libs/libosp.so: undefined reference to `__cxa_pure_virtual' ../lib/.libs/libosp.so: undefined reference to `vtable for std::bad_alloc' ../lib/.libs/libosp.so: undefined reference to `__cxa_begin_catch' ../lib/.libs/libosp.so: undefined reference to `std::bad_alloc::~bad_alloc [in-charge]()' ../lib/.libs/libosp.so: undefined reference to `__dynamic_cast' collect2: ld returned 1 exit status distcc[3891] ERROR: compile on localhost failed distcc[3890] ERROR: compile on localhost failed make[3]: *** [onsgmls] Error 1 make[3]: Leaving directory `/var/tmp/portage/opensp-1.5-r1/work/OpenSP-1.5/nsgmls' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/opensp-1.5-r1/work/OpenSP-1.5/nsgmls' I got opensp to compile when completely(!) disabling distcc. Not even distcc with localhost worked. So opensp should automagically disable distcc - and openjade too (none of them work in my experience with distcc :( ) i don't have any problems with opensp and distcc. would it be that g++ is a little dodgy on the remote side? adding lisa in case she has some insight into this Well the remote sides are both Gentoo, with gcc-3.2.2 installed. what version of distcc are you using? needinfo Well, I was using an older version (the newest at the time), but the machine is not being used anymore, and Debian has been installed on it (I needed something to work :) So unfortunately I can't give you more info. I had the same error message (assembler yadda yadda) on a k6-2 using -march and -Os. It went away by switching to -O2. I'm using gcc-3.3.2; 3.3.3 is out but I don't have time to update (unfortunatelly the CPU tends to overheat so I must supervise every CPU-intensive process). |