hylafax-4.2.2 doesn't compile for me, error follows: ------------------------------------------------------------------------------ /usr/bin/g++ -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././faxd -I.././util -I/usr/local/include -g -fpic -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -c Class1Send.c++ Class1Send.c++: In member function `bool Class1Modem::sendRTC(Class2Params, u_int, int, fxStr&)': Class1Send.c++:1592: internal compiler error: in sweep_string_variable, at protector.c:1158 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/hylafax-4.2.2/temp/cchUKoV4.out file, please attach this to your bugreport. make[3]: *** [Class1Send.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/hylafax-4.2.2/work/hylafax-4.2.2/faxd' make[2]: *** [default] Error 2 make[2]: Leaving directory `/var/tmp/portage/hylafax-4.2.2/work/hylafax-4.2.2/faxd' make[1]: *** [dirs] Error 2 make[1]: Leaving directory `/var/tmp/portage/hylafax-4.2.2/work/hylafax-4.2.2' make: *** [default] Error 2 !!! ERROR: net-misc/hylafax-4.2.2 failed. !!! Function src_compile, Line 87, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. ----------------------------------------------------------------------------- emerge info: Portage 2.0.53_rc5 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-hardened i686) ================================================================= System uname: 2.6.13-hardened i686 AMD Sempron(tm) 2800+ Gentoo Base System version 1.12.0_pre9 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/fax /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/storage/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.inode.at" LINGUAS="de_DE@euro" PKGDIR="/storage/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://localhost/gentoo-portage" USE="3dnow 7zip acpi apache2 apm async bcmath berkdb bzip2 bzlib calendar chroot cli cpdflib crypt ctype curl curlwrappers dba dlloader erandom exif exim exiscan-acl fam flatfile ftp gd gdbm gif gmp gpm hardened iconv imagemagick imap inifile innodb ithreads java jpeg ldap libclamav maildir mhash mime mmx mpm-worker mysql mysqli nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nptl nptlonly pam parse-clocks pcntl pcre pdflib pear perl pic pie png posix python readline samba sasl session simplexml slang snmp sockets socks5 spell spl sse ssl swat sysvipc tcpd threads tidy tiff tokenizer truetype usb userlocales vhosts wddx wildlsearch x86 xml xml2 xmlrpc xsl zlib linguas_de_DE@euro userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Try bumping your optimizations down from -O2 to -O0
comm-fax@gentoo.org is not a proper alias please change that or fix metadata.xml
I tried CFLAGS="", result follows: /usr/bin/g++ -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././faxd - I.././util -I/usr/local/include -g -fpic -c Class1Send.c++ Class1Send.c++: In member function `bool Class1Modem::sendRTC(Class2Params, u_int, int, fxStr&)': Class1Send.c++:1592: internal compiler error: in sweep_string_variable, at protector.c:1158 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/hylafax- 4.2.2/temp/ccvjFMrF.out file, please attach this to your bugreport. make[3]: *** [Class1Send.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/hylafax-4.2.2/work/hylafax- 4.2.2/faxd' make[2]: *** [default] Error 2 make[2]: Leaving directory `/var/tmp/portage/hylafax-4.2.2/work/hylafax- 4.2.2/faxd' make[1]: *** [dirs] Error 2 make[1]: Leaving directory `/var/tmp/portage/hylafax-4.2.2/work/hylafax-4.2.2' make: *** [default] Error 2 !!! ERROR: net-misc/hylafax-4.2.2 failed. !!! Function src_compile, Line 87, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message.
Could you attach /var/tmp/portage/hylafax- 4.2.2/temp/ccvjFMrF.out here, please?
Created attachment 71093 [details] Precompiled output as requested
*** This bug has been marked as a duplicate of 74457 ***
*** Bug 118059 has been marked as a duplicate of this bug. ***
Try with -fno-stack-protector in CXXFLAGS...
Hylafax is now patched to filter the stack_protect flags on gcc versions newer than 3.3.x until we get a better fix for the SSP borkage.
-fno-stack-protector in CXXFLAGS doesn't helps for me, still cannot compile hylafax. Or should i compile gcc first?