Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337972 - dev-lang/perl-5.8.8-r8: I can not compile with the option msseregparm...
Summary: dev-lang/perl-5.8.8-r8: I can not compile with the option msseregparm...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-18 18:24 UTC by jadd
Modified: 2010-11-02 22:36 UTC (History)
0 users

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


Attachments
build.log (build.log,49.67 KB, text/plain)
2010-09-18 18:25 UTC, jadd
Details
emerge-world (emerge-world,82.23 KB, text/plain)
2010-09-18 18:28 UTC, jadd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jadd 2010-09-18 18:24:00 UTC
I can not compile with the option msseregparm, otherwise I have no problem. I can not find anywhere if msseregparm is dangerous option and how many packages it with this option could not compile.

Reproducible: Always

Steps to Reproduce:
1. emerge -vDe world
2.
3.




Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r6-uvve i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r6-uvve-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 18 Sep 2010 00:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=core2 -mmmx -msse4.1 -mfpmath=sse -mcx16 -msseregparm -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/splash /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -mtune=core2 -mmmx -msse4.1 -mfpmath=sse -mcx16 -msseregparm -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz/ http://gentoo.mirror.dkm.cz/pub/gentoo/"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
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"
SYNC="rsync://81.91.242.10/gentoo-portage"
USE="X a52 aac acl acpi alsa amr automount avahi bash-completion beagle bluetooth branding bzip2 cairo caps cdda cddb cdr cleartype cli clucene consolekit cracklib crypt ctype cups curl cxx dbus device-mapper dga dhcp dirac directfb djvu dri dts dv dvb dvd dvdr ebook embedded emboss enca encode examples exceptions exif expat faac faad fam fat fbcon ffmpeg fftw firefox flac fontconfig fortran frei0r fuse gcrypt gdbm gdu gif gimp glitz gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gsm gstreamer gtk handbook hyperestraier iconv icu id3tag idn ieee1394 imagemagick imlib inotify ipv6 ithreads jack java jpeg jpeg2k kde kipi lame laptop lastfm latin1 lcms libnotify libproxy libsamplerate libssh2 libv4l2 live lzma lzo mad matroska mecab mikmod mmx mng modplug modules mp3 mp3rtp mp4 mpeg mplayer mtp mudflap multicall multimedia musicbrainz nas nautilus ncurses network networkmanager nls nptl nptlonly nsplugin oav ogg openal openexr opengl openmp osdmenu pam pango pch pcre pdf perl phonon php png policykit ppds pppd pulseaudio pvr python qt3support qt4 rar raw readline reflection remote-access samba sasl scanner schroedinger sdl semantic-desktop session sftp shm skey slang smp sndfile speex spell sql sqlite sqlite3 sse sse2 sse3 sse4 ssh ssh1 ssl ssse3 startup-notification svg sysfs syslog system-sqlite taglib tcpd test-programs theora threads threadsafe thumbnail thumbnails tidy tiff tools tremor truetype twolame unicode usb utils v4l v4l2 vaapi vim-syntax vorbis wavpack webkit wicd wifi win32codecs wmf x264 x86 xattr xcb xcomposite xine xinerama xml xmp xorg xpm xulrunner xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics joystick" KERNEL="linux" LINGUAS="cs" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx radeon v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 jadd 2010-09-18 18:25:50 UTC
Created attachment 247886 [details]
build.log
Comment 2 jadd 2010-09-18 18:28:34 UTC
Created attachment 247889 [details]
emerge-world
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2010-09-19 15:16:26 UTC
man gcc.
    -msseregparm
           Use SSE register passing conventions for float and double arguments
           and return values.  You can control this behavior for a specific
           function by using the function attribute -msseregparm.

           Warning: if you use this switch then you must build all modules
           with the same value, including any libraries.  This includes the
           system libraries and startup modules.

So, why is it you are trying to use this CFLAG and what do you think it will give you?

Also, please explain what the *PROBLEM* is. From looking at your bug report, I cannot see anything obviously wrong.

Noted that I think this specific problem is outside the realm of what we should be supporting, and if it is indeed a problem in perl not compiling with that flag, we're probably just going to mask that flag, and punt it upstream.
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2010-11-02 22:36:08 UTC
I agree.