c-client fails with a internal compiler error when building -r1. I currently have 2002d installed, so that version seems to be working. This new verion is needed to install the newest mod_php in x86. I've attached the main error portion below. rfc822.c: In function `rfc822_parse_routeaddr': rfc822.c:1167: Internal compiler error in instantiate_virtual_regs_1, at function.c:4143 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. make[3]: *** [rfc822.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/c-client-2002d-r1/work/imap-2002d/c-client' make[2]: *** [lnp] Error 2 make[2]: Leaving directory `/var/tmp/portage/c-client-2002d-r1/work/imap-2002d/c-client' make[1]: *** [OSTYPE] Error 2 make[1]: Leaving directory `/var/tmp/portage/c-client-2002d-r1/work/imap-2002d' make: *** [lnp] Error 2 !!! ERROR: net-libs/c-client-2002d-r1 failed. !!! Function src_compile, Line 56, Exitcode 2 !!! (no error message)
1. 'emerge info' 2. how much memory in your machine, and is it good (memtest etc.)
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.10p1 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -funroll-loops -fomit-frame-pointer -finline-functions -fstack-protector" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -funroll-loops -fomit-frame-pointer -finline-functions -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://supertux.com/pub/mirrors/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 arts avi encode foomaticdb gif imlib jpeg libg++ mad mikmod motif mpeg ncurses oggvorbis pdflib png quicktime sdl spell svga truetype xml2 xmms xv gdbm berkdb slang readline libwww perl acl crypt exiscan-acl imap ipv6 maildir mmx mysql pam php python sse ssl zlib -acpi -alsa -apm -cups -gnome -gpm -gtk -gtk2 -java -kde -kerberos -ldap -nls -oss -opengl -postgres -qt -selinux -tcpd -X" I have 512mb ram and 512 swap, on this box.
please try to reduce the cflags: remove these first "-funroll-loops -finline-functions" then if still failing, remove "-fstack-protector -fomit-frame-pointer"
Already tried removing -fstack-protector and -fomit-frame-pointer, first things i tried. Just tried without -funroll-loops and -finline-functions, still broken. my current flags are "-march=pentium3 -O3 -pipe".
please try c-client-2002e
same error
Found the problem. I removed the -fstack-protector flag, but I forgot I'm using the hardened-gcc package. Looks like c-client has issues with hardened-gcc.
Confirming, same error. Disabling stack-protector allows the package to compile. ( hcc -p and removing -fstack-protector from cflags )
Created attachment 20302 [details] AstralStorm's emerge --verbose info
>>> emerge (1 of 1) net-libs/c-client-2002d-r1 to / ... >>> net-libs/c-client-2002d-r1 merged. 09:32:47 [/usr/local/chroots/chroot001:11605.pty-s2.epoch] epoch ~ # hcc -l glibc: GNU C Library stable release version 2.3.2, by Roland McGrath et al. glibc: Compiled by GNU CC version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice). gcc: gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice) ld: GNU ld version 2.14.90.0.2 20030515 config: hcc-2.4.5-x86 - /etc/hcc.conf emerges cleanly with hcc-2.4.5 and the glibc/gcc propolice patch you need to wait for Azarah to add the glibc/gcc propolice patches for hardened-gcc 2.4.5 to cvs and then reemerge them: emerge glibc gcc hardened-gcc HTH, Alex
*** This bug has been marked as a duplicate of 32960 ***
ouch, mistakenly attached this bug to 32960 PT_GNU_STACK
please test the ebuild and report back, TIA, Alex