Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441588 - dev-libs/boost-1.51.0-r1 32bit building fails on amd64: errors in libs/context/src/asm/fcontext_i386_sysv_elf_gas.S
Summary: dev-libs/boost-1.51.0-r1 32bit building fails on amd64: errors in libs/contex...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Thomas Sachau
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-03 15:39 UTC by Thomas Sachau
Modified: 2012-11-18 16:03 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,448.28 KB, text/plain)
2012-11-03 15:41 UTC, Thomas Sachau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Sachau gentoo-dev 2012-11-03 15:39:45 UTC
emerge --info:

Portage 2.2.0_alpha142-r1 (hardened/linux/amd64, gcc-4.6.3, glibc-2.16.0, 3.6.5-gentoo x86_64)
=================================================================
System uname: Linux-3.6.5-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
Timestamp of tree: Unknown
ld GNU ld (GNU Binutils) 2.23
app-shells/bash:          4.2_p39
dev-java/java-config:     2.1.12
dev-lang/python:          2.6.8, 2.7.3-r2
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.2
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.4
sys-devel/binutils:       2.23
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo multilib enlightenment sunrise local
Installed sets: @enlightenment, @fonts
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-multilib merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="de_DE.UTF-8@euro"
LDFLAGS="-Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="de"
MAKEOPTS="-j5 --load-average=8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/multilib-portage /var/lib/layman/enlightenment /var/lib/layman/sunrise /usr/local/portage"
SYNC="cvs://tommy@cvs.gentoo.org:/var/cvsroot"
USE="3dnow X alsa amd64 berkdb cli cracklib crypt cups custom-cflags custom-cxxflags custom-optimization cxx dri gpm hardened java5 java6 justify mmx modules mudflap ncurses nls nptl nsplugin ogg openmp pam pax_kernel pppd readline scanner session sse sse2 ssl tcpd unicode urandom v4l vorbis 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="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" MULTILIB_ABI="amd64 x86" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" 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" multilib_abi="amd64 x86"
USE_PYTHON="2.6 2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Sachau gentoo-dev 2012-11-03 15:41:19 UTC
Created attachment 328222 [details]
build.log
Comment 2 Rafał Mużyło 2012-11-03 16:40:52 UTC
libs/context/src/asm/fcontext_i386_sysv_elf_gas.S: Assembler messages:
libs/context/src/asm/fcontext_i386_sysv_elf_gas.S:71: Error: operand type mismatch for `jmp'
libs/context/src/asm/fcontext_i386_sysv_elf_gas.S:85: Error: invalid instruction suffix for `push'
libs/context/src/asm/fcontext_i386_sysv_elf_gas.S:86: Error: invalid instruction suffix for `push'
libs/context/src/asm/fcontext_i386_sysv_elf_gas.S:87: Error: invalid instruction suffix for `push'
libs/context/src/asm/fcontext_i386_sysv_elf_gas.S:89: Error: invalid instruction suffix for `pop'
libs/context/src/asm/fcontext_i386_sysv_elf_gas.S:93: Error: invalid instruction suffix for `pop'
libs/context/src/asm/fcontext_i386_sysv_elf_gas.S:94: Error: invalid instruction suffix for `pop'
libs/context/src/asm/fcontext_i386_sysv_elf_gas.S:95: Error: invalid instruction suffix for `pop'
libs/context/src/asm/fcontext_i386_sysv_elf_gas.S:104: Error: invalid instruction suffix for `pop'
libs/context/src/asm/fcontext_i386_sysv_elf_gas.S:115: Error: invalid instruction suffix for `pop'
libs/context/src/asm/fcontext_i386_sysv_elf_gas.S:119: Error: invalid instruction suffix for `push'

Any chance this points to binutils 2.23 ?
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-09 23:56:03 UTC
No it's because the bloody piece of junk now ships with assembly files that are compiled with GCC+GAS but don't get ASFLAGS passed down, it seems.

FFS.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-09 23:57:32 UTC
But Thomas you'll have to find the way to fix it, I'd say — this can only present itself with your multilib portage, and I'm not really looking forward to testrun it.
Comment 5 Thomas Sachau gentoo-dev 2012-11-11 11:19:48 UTC
(In reply to comment #3)
> No it's because the bloody piece of junk now ships with assembly files that
> are compiled with GCC+GAS but don't get ASFLAGS passed down, it seems.
> 
> FFS.

So if you see the issue, why dont you fix it or at least provide a patch to test your suggested fix?

(In reply to comment #4)
> But Thomas you'll have to find the way to fix it, I'd say — this can only
> present itself with your multilib portage, and I'm not really looking
> forward to testrun it.

You volunteered to maintain this package, so you should find a way to fix it. You are free to request additional infos and i can test any patch you provide, so lets do it the same way as with any other package and maintainer:

-i report the issue.
-you request the needed details to find the reason
-you provide a fix
-i test the fix and confirm it works
-you commit the fix
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-11 16:43:32 UTC
Exactly I _volunteered_ so I owe you nothing.

I debugged the issue, I found the problem, I have no freaking way to test it, and it only presents itself with a non-default package manager configuration.

I'm basically doing the same for HPPA since I don't have such a box.

Now you either take the help I provided you (the diagnosis) and find a way around it, or if you re-reassign this again I'm going to close it as RESO WONTFIX "Use a standard package manager", does it feel better?
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-18 15:21:46 UTC
Actually, scratch that, this will likely be bundled with bug #443012 — I'll just disable context until somebody _really_ needs it.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-18 16:03:31 UTC
And we might hope that upstream will make it a tad more reliable next time.