Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109833 - hylafax-4.2.2 doesn't compile in a hardened environment
Summary: hylafax-4.2.2 doesn't compile in a hardened environment
Status: RESOLVED DUPLICATE of bug 74457
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
: 118059 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-19 10:36 UTC by Dennis Freise
Modified: 2006-01-12 06:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Precompiled output (ccmMznTD.out,212.84 KB, text/plain)
2005-10-20 15:05 UTC, Dennis Freise
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Freise 2005-10-19 10:36:14 UTC
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
Comment 1 Andy Kissner 2005-10-19 11:37:50 UTC
Try bumping your optimizations down from -O2 to -O0
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-19 12:52:42 UTC
comm-fax@gentoo.org is not a proper alias please change that or fix metadata.xml
Comment 3 Dennis Freise 2005-10-20 00:30:15 UTC
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.
Comment 4 Andy Kissner 2005-10-20 11:55:54 UTC
Could you attach /var/tmp/portage/hylafax-
4.2.2/temp/ccvjFMrF.out here, please?
Comment 5 Dennis Freise 2005-10-20 15:05:11 UTC
Created attachment 71093 [details]
Precompiled output

as requested
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-01-06 09:12:51 UTC

*** This bug has been marked as a duplicate of 74457 ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-01-06 09:13:58 UTC
*** Bug 118059 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-01-06 09:15:04 UTC
Try with -fno-stack-protector in CXXFLAGS...
Comment 9 Steve Arnold archtester gentoo-dev 2006-01-08 14:19:51 UTC
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.
Comment 10 Thomas Beutin 2006-01-12 06:24:34 UTC
-fno-stack-protector in CXXFLAGS doesn't helps for me, still cannot compile hylafax. Or should i compile gcc first?