Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280562 - net-libs/xulrunner-1.8.0.19 fails to compile with gcc-4.4 (conversion error)
Summary: net-libs/xulrunner-1.8.0.19 fails to compile with gcc-4.4 (conversion error)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 282162
Blocks:
  Show dependency tree
 
Reported: 2009-08-06 13:35 UTC by David Pyke
Modified: 2009-08-24 20:41 UTC (History)
4 users (show)

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


Attachments
complete build log (xulrunner.log,256.17 KB, text/plain)
2009-08-06 13:43 UTC, David Pyke
Details
Solves the invalid conversion problem (typecast.patch,695 bytes, patch)
2009-08-23 13:09 UTC, Attila Tóth
Details | Diff
Example Ebuild applies the patch above (xulrunner-1.8.1.19-r2.ebuild,5.15 KB, text/plain)
2009-08-23 13:10 UTC, Attila Tóth
Details
emerge --info (emerge.info,3.84 KB, text/plain)
2009-08-23 18:54 UTC, Aron Dobson
Details
emerge -pv xulrunner (emerge.pv.xulrunner,241 bytes, text/plain)
2009-08-23 18:54 UTC, Aron Dobson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Pyke 2009-08-06 13:35:26 UTC
net-libs/xulrunner uses an invalid (for gcc-4.4) conversion from const char* to char*

Reproducible: Always

Actual Results:  
x86_64-pc-linux-gnu-g++ -o nsGREDirServiceProvider.o -c  -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2009080609 -DXPCOM_GLUE -I./../../build  -I../../../dist/include/string -I../../../dist/include/xpcom -I../../../dist/include -I/usr/include/nspr    -I../../../dist/sdk/include    -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=native -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsGREDirServiceProvider.pp nsGREDirServiceProvider.cpp                                                            
nsGlueLinkingDlopen.cpp: In function 'nsresult (* XPCOMGlueLoad(const char*))(XPCOMFunctions*, const char*)':                                
nsGlueLinkingDlopen.cpp:90: error: invalid conversion from 'const char*' to 'char*'      


paludis 0.38.2              
Paludis build information:  
    Compiler:               
        CXX:                   x86_64-pc-linux-gnu-g++ 4.4.1
        CXXFLAGS:               -O2 -march=native -pipe -floop-interchange -floop-strip-mine -floop-block -pedantic
        LDFLAGS:               -Wl,-O1 -Wl,--sort-common                                                           
        DATE:                  2009-07-27T09:03:11-0400                                                            

    Libraries:
        C++ Library:           GNU libstdc++ 20090722

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc        
        PYTHONINSTALLDIR:      /usr/lib64/python2.6/site-packages
        RUBYINSTALLDIR:        /usr/lib64/ruby/site_ruby/1.8/x86_64-linux

System:
    Linux www 2.6.30-gentoo-r4 #2 SMP Wed Jul 29 10:39:59 EDT 2009 x86_64 AMD Phenom(tm) 9850 Quad-Core Processor AuthenticAMD GNU/Linux

Reduced Privs:
    reduced_uid:               107
    reduced_uid->name:         paludisbuild
    reduced_uid->dir:          /var/tmp/paludis
    reduced_gid:               1001            
    reduced_gid->name:         paludisbuild    

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/db/pkg/world

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /                 

Repository virtuals:
    format:                    virtuals

Repository gentoo:
    format:                    ebuild
    location:                  /var/paludis/repositories/gentoo
    append_repository_name_to_write_cache: true                
    binary_destination:        false                           
    binary_keywords:                                           
    binary_uri_prefix:                                         
    builddir:                  /var/tmp/paludis                
    cache:                     /var/paludis/repositories/gentoo/metadata/cache
    distdir:                   /var/paludis/distfiles                         
    eapi_when_unknown:         0                                              
    eapi_when_unspecified:     0                                              
    eclassdirs:                /var/paludis/repositories/gentoo/eclass        
    ignore_deprecated_profiles: false                                         
    layout:                    traditional                                    
    names_cache:               /var/paludis/repositories/gentoo/.cache/names  
    newsdir:                   /var/paludis/repositories/gentoo/metadata/news 
    profile_eapi_when_unspecified: 0                                          
    profiles:                  /var/paludis/repositories/gentoo/profiles/default/linux/amd64/2008.0
    securitydir:               /var/paludis/repositories/gentoo/metadata/glsa                      
    setsdir:                   /var/paludis/repositories/gentoo/sets                               
    sync:                      rsync://rsync.gentoo.org/gentoo-portage                             
    sync_options:                                                                                  
    use_manifest:              use                                                                 
    write_cache:               /var/cache/paludis/metadata                                         

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       4.0_p28    
        dev-java/java-config:  2.1.8-r1   
        dev-lang/python:       2.4.6 2.6.2-r1 3.1
        dev-python/pycrypto:   (none)            
        dev-util/ccache:       2.4-r8            
        dev-util/cmake:        2.6.4-r2          
        dev-util/confcache:    (none)            
        sys-apps/baselayout:   2.0.1             
        sys-apps/openrc:       0.4.3-r3          
        sys-apps/sandbox:      2.0               
        sys-devel/autoconf:    2.13 2.63-r1      
        sys-devel/automake:    1.10.2 1.11 1.5 1.7.9-r1 1.8.5-r3 1.9.6-r2
        sys-devel/binutils:    2.19.1-r1                                 
        sys-devel/gcc-config:  1.4.1                                     
        sys-devel/libtool:     2.2.6a                                    
        virtual/os-headers:    2.6.30-r1 (for sys-kernel/linux-headers:0::installed)
Comment 1 David Pyke 2009-08-06 13:43:41 UTC
Created attachment 200388 [details]
complete build log
Comment 2 Thomas Capricelli 2009-08-07 02:28:33 UTC
i can confirm this (using gcc-4.4.1)
Comment 3 Thomas Capricelli 2009-08-07 02:30:05 UTC
net-libs/xulrunner-1.9.1.2 fails as well
Comment 4 Jory A. Pratt gentoo-dev 2009-08-07 03:11:09 UTC
(In reply to comment #3)
> net-libs/xulrunner-1.9.1.2 fails as well
> 

Then you have bigger issues, I personally work on xulrunner-1.9.1.x and compile it all with gcc-4.4.x please attach emerge --info.
Comment 5 Jory A. Pratt gentoo-dev 2009-08-07 03:20:25 UTC
David if you could please tell us what is attempting to pull in xulurnner-1.8.x would be appreciated. Only arch that I am aware of that is being forced to use 1.8 series is x86-fbsd. Any package that has not been updated to work with xulrunner-1.9.x needs a bug report so it can be fixed.
Comment 6 David Pyke 2009-08-07 12:48:54 UTC
(In reply to comment #5)
> David if you could please tell us what is attempting to pull in xulurnner-1.8.x
> would be appreciated. Only arch that I am aware of that is being forced to use
> 1.8 series is x86-fbsd. Any package that has not been updated to work with
> xulrunner-1.9.x needs a bug report so it can be fixed.
> 

Probably none.  It's likely just been on my system forever and wanted to re-install when I changed some use flags.
Comment 7 Thomas Capricelli 2009-08-08 22:28:26 UTC
(In reply to comment #4)
Forget about it, i can't reproduce the pb : i just managed to emerge net-libs/xulrunner-1.9.1.2

I'm really sorry for the confusion.
Comment 8 Mike Civil 2009-08-15 21:36:13 UTC
Users sticking with openoffice-3.0.1 due to bugs in openoffice-3.1.x may find a dependency with xulrunner-1.8 being pulled in due to nsplugin use flag. Simple workaround is to emerge openoffice-3.0.1 with -nsplugin.
Comment 9 Aron Dobson 2009-08-18 14:25:34 UTC
i have the same error, and i need this older version of xulrunner. Not for openoffice...

Could you guys please help me to compile it with gcc-4.4.1 ?
Comment 10 Jory A. Pratt gentoo-dev 2009-08-20 14:30:30 UTC
(In reply to comment #9)
> i have the same error, and i need this older version of xulrunner. Not for
> openoffice...
> 
> Could you guys please help me to compile it with gcc-4.4.1 ?
> 

I am unable to duplicate this please post emerge --info please, along with emerge -pv xulrunner.
Comment 11 frank 2009-08-21 17:23:19 UTC
(In reply to comment #5)
> David if you could please tell us what is attempting to pull in xulurnner-1.8.x
> would be appreciated. Only arch that I am aware of that is being forced to use
> 1.8 series is x86-fbsd. Any package that has not been updated to work with
> xulrunner-1.9.x needs a bug report so it can be fixed.
> 

dev-games/openscenegraph-2.8.0 needs xulrunner:1.8 when xulrunner use flag is set, should i fill a new bug?
Comment 12 Jory A. Pratt gentoo-dev 2009-08-21 17:33:57 UTC
(In reply to comment #11)
> (In reply to comment #5)
> > David if you could please tell us what is attempting to pull in xulurnner-1.8.x
> > would be appreciated. Only arch that I am aware of that is being forced to use
> > 1.8 series is x86-fbsd. Any package that has not been updated to work with
> > xulrunner-1.9.x needs a bug report so it can be fixed.
> > 
> 
> dev-games/openscenegraph-2.8.0 needs xulrunner:1.8 when xulrunner use flag is
> set, should i fill a new bug?
> 

A new bug for what issue. This is strictly about xulrunner-1.8 and gcc-4.4.1. If dev-games/openscenegraph-2.8.0 has a build problem then yes please open a new bug.
Comment 13 frank 2009-08-22 07:46:46 UTC
(In reply to comment #12)
> (In reply to comment #11)
> 
> A new bug for what issue. This is strictly about xulrunner-1.8 and gcc-4.4.1.
> If dev-games/openscenegraph-2.8.0 has a build problem then yes please open a
> new bug.
> 

i don't have build problems with openscenegraph, i'm just informing you that openscenegraph still pulls in xulrunner-1.8 as dependency...
and it's not the only one:

$ grep -R " =net-libs/xulrunner-1.8" /usr/portage/*-*/*/*.ebuild
/usr/portage/app-crypt/seahorse-plugins/seahorse-plugins-2.24.1.ebuild:         xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/app-crypt/seahorse/seahorse-2.22.3.ebuild:                         xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/dev-haskell/gtk2hs/gtk2hs-0.9.11.ebuild:           xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/dev-haskell/gtk2hs/gtk2hs-0.9.12.1.ebuild:         xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/dev-haskell/gtk2hs/gtk2hs-0.9.12.ebuild:           xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/dev-python/gnome-python-extras/gnome-python-extras-2.14.2-r1.ebuild:       xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/dev-python/gnome-python-extras/gnome-python-extras-2.19.1-r1.ebuild:       xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/dev-python/gnome-python-extras/gnome-python-extras-2.19.1-r2.ebuild:       xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/dev-python/gtkmozembed-python/gtkmozembed-python-2.19.1.ebuild:RDEPEND="xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/dev-ruby/ruby-gtkmozembed/ruby-gtkmozembed-0.16.0.ebuild:DEPEND="xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/gnome-extra/yelp/yelp-2.24.0.ebuild:       xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/media-video/totem/totem-2.20.3.ebuild:                             xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/net-news/liferea/liferea-1.2.23-r1.ebuild: xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/net-news/liferea/liferea-1.4.15.ebuild:    xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/www-client/epiphany/epiphany-2.24.3.ebuild:        xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/www-client/epiphany-extensions/epiphany-extensions-2.22.2.ebuild:  xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/www-client/epiphany-extensions/epiphany-extensions-2.24.3.ebuild:  xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/www-client/galeon/galeon-2.0.4.ebuild:RDEPEND="xulrunner? ( =net-libs/xulrunner-1.8* )
/usr/portage/www-plugins/mplayerplug-in/mplayerplug-in-3.50.ebuild:             xulrunner? ( =net-libs/xulrunner-1.8* )

so i ask you again: is it necessary to fill a bug report for each of the ebuilds above like you suggested on comment #5?
Comment 14 Attila Tóth 2009-08-23 13:09:57 UTC
Created attachment 202025 [details, diff]
Solves the invalid conversion problem

The problem can be solved by changing the function argument's type to non-const, but the argument is taken from the argument of another function. So I tried to introduce a temporary char pointer for handling the issue.

The solution may not be valid, but xulrunner seems to work for me. However I didn't try to specifically test the affected function.
Comment 15 Attila Tóth 2009-08-23 13:10:55 UTC
Created attachment 202026 [details]
Example Ebuild applies the patch above
Comment 16 Attila Tóth 2009-08-23 13:23:15 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > (In reply to comment #5)
> > > David if you could please tell us what is attempting to pull in xulurnner-1.8.x
> > > would be appreciated. Only arch that I am aware of that is being forced to use
> > > 1.8 series is x86-fbsd. Any package that has not been updated to work with
> > > xulrunner-1.9.x needs a bug report so it can be fixed.
> > > 
> > 
> > dev-games/openscenegraph-2.8.0 needs xulrunner:1.8 when xulrunner use flag is
> > set, should i fill a new bug?
> > 
> 
> A new bug for what issue. This is strictly about xulrunner-1.8 and gcc-4.4.1.
> If dev-games/openscenegraph-2.8.0 has a build problem then yes please open a
> new bug.
> 

As frank pointed out in his comment (comment #13), some packages still require xulrunner-1.8 if you run a stable userland. (I'm running an experimental toolchain, but trying to stick to a stable userland.) GNOME 2.26 must be stabilized before gcc-4.4.x & glibc-2.10.x become stable. BTW: when will the former happen?

In the mean time please take a look at my temporary fix. Works for me, requires testing.

Regards:
Dw.
Comment 17 Jory A. Pratt gentoo-dev 2009-08-23 14:53:30 UTC
(In reply to comment #14)
> Created an attachment (id=202025) [edit]
> Solves the invalid conversion problem
> 
> The problem can be solved by changing the function argument's type to
> non-const, but the argument is taken from the argument of another function. So
> I tried to introduce a temporary char pointer for handling the issue.
> 
> The solution may not be valid, but xulrunner seems to work for me. However I
> didn't try to specifically test the affected function.
> 

With out proper emerge --info I am stuck with my hands tied. I have tested this with 4.4.1 and been unable to duplicate the failure on amd64. I am using the higest level of experimental toolchains for hardened. Please provide emerge --info and emerge -pv xulrunner.
Comment 18 David Pyke 2009-08-23 15:14:27 UTC
* net-libs/xulrunner :1.8 [S 1.8.1.19] <target>
    -debug -gnome ipv6+ java -xinerama+ build_options: -optional_tests split strip

I can't give you emerge --info as I haven't run portage in over a year after my conversion to paludis.  The information from emerge --info isn't accurate.  My flags are part of the paludis info.  If there's something from the emerge --info output you'd like me to list, I can add it.
Comment 19 Attila Tóth 2009-08-23 18:00:19 UTC
(In reply to comment #17)
> (In reply to comment #14)
> > Created an attachment (id=202025) [edit]
> > Solves the invalid conversion problem
> > 
> > The problem can be solved by changing the function argument's type to
> > non-const, but the argument is taken from the argument of another function. So
> > I tried to introduce a temporary char pointer for handling the issue.
> > 
> > The solution may not be valid, but xulrunner seems to work for me. However I
> > didn't try to specifically test the affected function.
> > 
> 
> With out proper emerge --info I am stuck with my hands tied. I have tested this
> with 4.4.1 and been unable to duplicate the failure on amd64. I am using the
> higest level of experimental toolchains for hardened. Please provide emerge
> --info and emerge -pv xulrunner.
> 

Besides gcc, the version of glibc is also important. I wouldn't think that this is an architecture dependent issue. I suspect it's rather toolchain dependent, but not hardened related. Did you also tried it using glibc-2.10.1?

I'm also using the experimental hardened toolchain and I experienced the problem on two x86 machines:


emerge --info
Portage 2.1.6.13 (hardened/x86, gcc-4.4.1, glibc-2.10.1-r0, 2.6.29.6-grsec i686)
=================================================================
System uname: Linux-2.6.29.6-grsec-i686-AMD_Athlon-TM-_MP_2600+-with-glibc2.4
Timestamp of tree: Wed, 19 Aug 2009 17:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=athlon-mp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -mtune=athlon-mp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://gentoo.inf.elte.hu/"
LANG="hu_HU.utf8"
LC_ALL="hu_HU.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="hu en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/xake-toolchain /home/atoth/public_html/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip GNU X X509 Xaw3d a52 aac aalib acl acpi aiglx alsa amr amrnb amrwb aotuv apache2 applet ares asf atmo audiofile bash-completion bcmath bdf berkdb bidi binfilter bitmap-fonts bittorrent blas bluetooth boost branding browserplugin bzip2 cairo caps cdaudio cdda cddax cddb cdio cdparanoia cdr cdrom cgi chardet checkpath clamdtop cli consolekit contentcache context contrib cracklib crypt css ctype cups curl curlwrappers dba dbm dbus dcmtk deskbar detex devhelp device-mapper dga dhcp dia dicom dirac disassembler discard-path divx divx4linux djbfft djvu dlloader dmi dot dri dts dv dvd dvdnav dvdr dvdread dvi dvi2tty dvipdfm eds elf emerald enca encode enscript epiphany epoll evo exif expat extensions extra extrafilters extras faac faad fam fame ffmpeg fftw finger firefox flac flash flatfile follow-xff fontconfig foomaticdb force-cgi-redirect fortran fpx ftp gadu galago gd gdb gdbm gdl gedit geoip gif gimp gimpprint ginac git glade glibc glitz gmedia gmp gnet gnome gnome-keyring gnome-print gnomecanvas gnomecd gopher gpac gphoto2 gpm graphics graphviz gs gsf gsl gsm gstreamer gtk gtk2 gtkhtml guile h323 hal hardened html hub iconv icu id3 id3tag idea idn iksemel imagemagick imap imlib inherit-graph inifile inkjar inode iplsrc irc irda jabber jadetex java java-internal java6 javascript jingle jpeg jpeg2k jpgraph jrtplib json kate kpathsea ladspa lame lapack latex latex3 lcms libass libburn libcaca libnotify libplot libsamplerate libssh2 libv4l2 lm_sensors logitech-mouse loop-aes lyx lzma lzo lzw m17n-lib mad matroska mbox mcal md5sum memlimit mhash mikmod milter ming mjpeg mmap mmx mmxext mng mode-owner motif mozbranding mozcalendar mp2 mp3 mp4 mpeg mpeg1 mpeg2 mplayer mudflap musepack mysql mysqli nautilus ncurses nemesi network networking new-login nifti nls nopop3d nptl nptlonly nsplugin nss ntfs nuv oav odbc odk ofx ogg oggvorbis ogm oil onaccess openexr opengl optimisememory otr overload pam pam_chroot pam_timestamp pango paste64 pasteafter pccts pcmcia pcntl pcre pda pdf pear perl php pic plotutils png pnm posix postscript ppds projectm pstricks publishers pvr python qhull quicktime quotas rar rc5 rcs readline realmedia reflection reiserfs remoteosd replytolist rle rtc rtf samba sasl scanner scenarios schroedinger science screen sdl sendmail sensord session sftplogging sid sieve silc skins slang smp sms sndfile soap sockets sound soundex soundtouch sourceview sox speex spell spf srt sse ssl ssp sspall startup-notification subtitles subversion suhosin svg svnserve sysfs syslog sysvipc t1lib taglib tagwriting tcl tcltk tcpd templates tetex tex4ht tga themes theora threads threadsafe tidy tiff tilepath tk tlen tokenizer toolbar tools totem tracker transcode truetype truetype-fonts twolame type1-fonts type3 udev underscores unicode urandom usb userlocales utils v4l v4l2 valgrind vcd vcdinfo vcdx vidix virus-scan vista visualization vlm volpack vorbis vtk wavplay wifi win32codecs wma wmf wmp wxwidgets wxwindows x264 x86 xattr xcb xetex xforms xine xmedcon xml xml2 xmlreader xmlrpc xmlwriter xorg xpm xsl xulrunner xv xvid xvmc yahoo zip zlib zvbi" ALSA_CARDS="cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest version filter ident charset_lite asis dbd authn_dbd proxy proxy_ajp proxy_balancer proxy_connect proxy_http imagemap" APACHE2_MPMS="worker" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse acecad evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu en" USERLAND="GNU" VIDEO_CARDS="radeon v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


emerge --info
Portage 2.1.6.13 (hardened/x86, gcc-4.4.1, glibc-2.10.1-r0, 2.6.29.6-grsec i686)
=================================================================
System uname: Linux-2.6.29.6-grsec-i686-Intel-R-_Pentium-R-_M_processor_1600MHz-with-glibc2.4
Timestamp of tree: Wed, 19 Aug 2009 17:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -mtune=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://gentoo.inf.elte.hu/"
LANG="hu_HU.utf8"
LC_ALL="hu_HU.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="hu en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/xake-toolchain /home/atoth/public_html/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip GNU X X509 Xaw3d a52 aac aalib acl acpi aiglx alsa amr amrnb amrwb aotuv apache2 applet ares asf atmo audiofile bash-completion bcmath bdf berkdb bidi binfilter bitmap-fonts bittorrent blas bluetooth boost branding browserplugin bzip2 cairo caps cdaudio cdda cddax cddb cdio cdparanoia cdr cdrom chardet checkpath clamdtop cli consolekit context contrib cracklib crypt css cups curl dba dbm dbus dcmtk deskbar detex devhelp dga dhcp dia dicom dirac discard-path divx divx4linux djbfft djvu dlloader dmi dot dri dts dv dvd dvdnav dvdr dvdread dvi dvi2tty dvipdfm eds emerald enca encode epiphany evo exif expat extensions extra extrafilters faac faad fam fame ffmpeg fftw finger firefox flac flash flatfile fontconfig foomaticdb force-cgi-redirect fortran fpx ftp gadu galago gd gdb gdbm gdl gedit gif gimp gimpprint ginac git glade glibc glitz gmedia gmp gnet gnome gnome-keyring gnome-print gnomecanvas gnomecd gopher gpac gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk gtk2 gtkhtml guile hal hardened html httpd hub i8x0 iconv icu id3tag idea idn imagemagick imap imlib inherit-graph inkjar iplsrc irc irda jabber jadetex java java6 javascript jingle jpeg jpeg2k jrtplib kate kpathsea ladspa lame lapack latex latex3 lcms libass libburn libcaca libnotify libplot libsamplerate libssh2 libv4l2 lm_sensors log4j logitech-mouse loop-aes lyx lzma lzo lzw m17n-lib mad matroska mbox mcal md5sum memlimit mikmod mjpeg mmap mmx mng mode-owner motif mozbranding mozcalendar mp2 mp3 mp4 mpeg mpeg1 mpeg2 mplayer mudflap musepack mysql mysqli nautilus ncurses nemesi network networking nifti nls nopop3d nptl nptlonly nsplugin nss ntfs nuv oav odbc odk ofx ogg oggvorbis ogm oil onaccess openexr opengl optimisememory otr pam pam_chroot pam_timestamp pango paste64 pasteafter pccts pcmcia pcre pda pdf pear perl php pic plotutils plugins png pnm posix postscript ppds projectm pstricks publishers pvr python qhull quicktime quotas rar rc5 rcs readline realmedia reiserfs remote remoteosd replytolist rle rtc rtf samba sasl scanner scenarios schroedinger science screen sdl sensord session sftplogging sid silc skins slang smp sms sndfile soap sockets sound soundex soundtouch sourceview sox speex spell spf srt sse sse2 ssl startup-notification subtitles subversion svg sysfs syslog sysvipc t1lib taglib tagwriting tcl tcltk tcpd templates tetex tex4ht tga themes theora threads threadsafe tiff tilepath tk tlen tokenizer toolbar tools topal totem tracker transcode truetype truetype-fonts twolame type1-fonts type3 udev underscores unicode urandom usb userlocales utils v4l v4l2 valgrind vcd vcdinfo vcdx vidix virus-scan vista visualization vlm volpack vorbis vtk wavplay webdav wifi win32codecs wma wmf wmp wxwidgets wxwindows x264 x86 xattr xcb xetex xforms xine xmedcon xml xml2 xmlrpc xorg xpm xsl xulrunner xv xvid xvmc yahoo zip zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse acecad evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu en" USERLAND="GNU" VIDEO_CARDS="radeon v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Hope it helps:
Dw.
Comment 20 Aron Dobson 2009-08-23 18:54:32 UTC
Created attachment 202072 [details]
emerge --info

Sorry Guys, i was on vacation this weekend, so i couldn't reply. Here is the requested emerge --info:
Comment 21 Aron Dobson 2009-08-23 18:54:58 UTC
Created attachment 202074 [details]
emerge -pv xulrunner
Comment 22 Jory A. Pratt gentoo-dev 2009-08-23 21:49:11 UTC
I will go ahead and update my glibc tonight, it is still p.masked for hardened profiles. If it compiles fine there I am gonna need to setup a few chroots with all your settings in order to reproduce this, and even then there is no guarantee.
Comment 23 Attila Tóth 2009-08-24 08:20:37 UTC
(In reply to comment #22)
> I will go ahead and update my glibc tonight, it is still p.masked for hardened
> profiles. If it compiles fine there I am gonna need to setup a few chroots with
> all your settings in order to reproduce this, and even then there is no
> guarantee.
> 

Thanks for your efforts.
The patch is not intrusive otherwise. I don't think it would do any harm for other users. I hope it don't introduce any regressions.

To David and Áron:
Please test the patch.

To Jory:
You can confirm, that it works for a setup, which is otherwise not affected.

Regards:
Dw.
Comment 24 Aron Dobson 2009-08-24 13:57:30 UTC
(In reply to comment #23)
> (In reply to comment #22)
> > I will go ahead and update my glibc tonight, it is still p.masked for hardened
> > profiles. If it compiles fine there I am gonna need to setup a few chroots with
> > all your settings in order to reproduce this, and even then there is no
> > guarantee.
> > 
> 
> Thanks for your efforts.
> The patch is not intrusive otherwise. I don't think it would do any harm for
> other users. I hope it don't introduce any regressions.
> 
> To David and Áron:
> Please test the patch.
> 
> To Jory:
> You can confirm, that it works for a setup, which is otherwise not affected.
> 
> Regards:
> Dw.
> 

It is working now!  Thank You Attila for the patch, and the ebuild!
I could compile xulrunner without any problems, or errors.
If you need any further infos, or i should test somethig, please let me know!
Thank YOU ALL for your help! People like You are the reason why i love gentoo ;)

(bug fixed for me)
Comment 25 Jory A. Pratt gentoo-dev 2009-08-24 14:01:26 UTC
I am actually gonna be commiting this later today. Thanks for your patch.
Comment 26 Jory A. Pratt gentoo-dev 2009-08-24 20:41:54 UTC
Has been fixed in cvs will be on mirrors shortly.