Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157109 - net-misc/ser-0.9.6 fails to build due to x86/x86-64 specific gcc flags
Summary: net-misc/ser-0.9.6 fails to build due to x86/x86-64 specific gcc flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-04 08:31 UTC by Jason Wever (RETIRED)
Modified: 2006-12-09 07:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Wever (RETIRED) gentoo-dev 2006-12-04 08:31:02 UTC
ser-0.9.6 is adding in the "-minline-all-stringops" flag when it compiling.  According to the gcc-4.1.1 man page, this is an x86 and x86-64 only option.  This is causing a compilation failure for me on ~sparc (using gcc-4.1.1 but NOT gcc-3.4.6).  This takes place when building stuff inside of the "ser-0.9.6/utils/gen_ha1" directory.

I've also CC'd PPC on this as they have keyworded ser-0.9.6 and are affected as far as the gcc man page indicates.

In the off chance you want the good lovin' known as emerge --info, here it is:

Portage 2.1.2_rc2-r3 (default-linux/sparc/sparc64/dev/gcc-4.1.1, gcc-4.1.1, glib
c-2.4-r4, 2.6.18-gentoo-r2 sparc64)
=================================================================
System uname: 2.6.18-gentoo-r2 sparc64 sun4u
Gentoo Base System version 1.12.6
Last Sync: Sat, 02 Dec 2006 10:01:01 +0000
distcc 2.18.3 sparc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [d
isabled]      
ccache version 2.4 [enabled]
dev-lang/python:     2.1.3-r1, 2.2.3-r6, 2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.14.90.0.7.1, 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shu
tdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/
fax /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bin
d /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /et
c/texmf/web2c"
CXXFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe"
DISTDIR="/nfs/distfiles"
FEATURES="autoconfig buildpkg ccache confcache digest distlocks metadata-transfe
r sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.netnitco.net"
PKGDIR="/mnt/sda/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di
stfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/sda/portagetmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/nfs/overlay /usr/local/portage"
SYNC="rsync://stargazer.weeve.org/gentoo-portage"
USE="sparc X X509 Xaw3d a52 aac aalib accessibility acl ada adns aim aimextras akode alsa ansi ao aoss apache apache2 applet ares arts artswrappersuid artworkextra asf async athena ati audiofile automount avalon bash-completion bcmath berkdb bidi big-tables bitmap-fonts bittorrent blas bogofilter bonobo bzip2 bzlib cairo calendar camaelon canvas cap caps ccache cdb cdda cddb cdio cdparanoia cdr cdrom cgi chipcard chroot cid cjk clamav clearcase cli concurrentmodphp corba cracklib crypt css ctype cups curl curlwrappers custreloc daap dba dbcp dbm dbus dbx dga dillo dio dlloader dlopen doc drac dri dtaus dts dv dvd dvdr dvdread dynagraph dynamic eds effects elibc_glibc emacs emboss encode esd estraier etwin evo examples exif expat extensions extraengine faad fam fame fastcgi fbcon ffmpeg fftw finger firebird firefox flac flash flatfile flood fltk foomaticdb force-cgi-redirect fortran freetds freetype freewnn ftp galago gcc64 gcj gd gd-external gdbm gecko-sdk geldkarte geoip ggi gif gimpprint ginac glade glut gmp gnome gnutls gopher gpg2-experimental gphoto2 gpm graphviz gsnd gstreamer gtalk gtk gtk2 gtkhtml guile h323 hal haskell hbci httpd hyperestraier iconv icq ide idea idl idn ieee1394 imagemagick imap imlib imlib2 inifile inkjar innodb input_devices_keyboard input_devices_mouse insecure-drivers iproute2 ipv6 isdnlog jabber jack jai javamail javascript jboss jikes jimi jms jmx joystick jpeg jpeg2k jta kcal kde kdeenablefinal kerberos kernel_linux krb4 lapack lcms ldap ldb libcaca libclamav libg++ libgda libnotify libwww lingerd live lj logrotate lua lzi mad maildir mailwrapper matroska mbox mcal mcve md5sum mdb memlimit mhash migemo mikmod mime ming mjpeg mng modelock monkey mono motif mozcalendar mozilla mp3 mpeg mpeg4 mpi mpm-prefork msdfs msn msnextras mule musepack musicbrainz mysql nas nautilus ncurses neXt netcdf network nfs nis nls nntp nptl nptlonly nsplugin ntlm oav objc objc++ objc-gc ocaml odbc offensive ofx ogg ole on-the-fly-crypt openal openexr opengl oracle oscar oss pam pascal pcntl pcre pda pdf pdo pear pear-db perforce perl php physfs plotutils plugin png portaudio posix postgres povray ppds pppd prelude pri profile pwdb python qdbm qhull qt qt-static qt3 quicktime quotes radius rc5 readline reflection rplay rss ruby samba sasl scanner screen sdl server servlet-2.4 session sftplogging shared sharedext sharedmem silverxp simplexml skey sland slang slp sndfile snmp soap sockets socks5 source sox spamassassin speedo speex spell spf spl sql sqlite ssl startup-notification stream stroke struts subversion svg swat syslog sysvipc t1lib tcl tcltk tcpd test tetex theora threads thumbnail thunderbird tidy tiff tlen tokenizer tools truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 v4l vanilla vcd vda vdesktop video_cards_ati video_cards_fbdev video_cards_sunbw2 video_cards_suncg14 video_cards_suncg3 video_cards_suncg6 video_cards_sunffb video_cards_sunleo video_cards_suntcx vis vlm vorbis wddx winbind wmf wxgtk1 wxwindows xbase xemacs xface xgetdefault xim xine xinetd xml xml2 xmlreader xmlrpc xorg xosd xpm xprint xscreensaver xsl xv xvid yahoo yaz yv12 zeroconf zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Timothy Redaelli (RETIRED) gentoo-dev 2006-12-04 09:08:23 UTC
The problem is Makefile.defs that sets -minline-all-stringops for sparc64 and gcc 4.x.
I'll fix asap
Comment 2 Jason Wever (RETIRED) gentoo-dev 2006-12-05 19:50:34 UTC
The patch you posted to me on IRC yesterday worked fine, please feel free to commit.
Comment 3 Timothy Redaelli (RETIRED) gentoo-dev 2006-12-09 07:06:06 UTC
In CVS without revbump, thx