Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403267 - sys-devel/dev86-0.16.18 - ?
Summary: sys-devel/dev86-0.16.18 - ?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-12 12:11 UTC by Guido Flohr
Modified: 2012-02-16 12:44 UTC (History)
0 users

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


Attachments
build.log (build.log,207.64 KB, text/plain)
2012-02-16 12:44 UTC, Guido Flohr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Flohr 2012-02-12 12:11:10 UTC
Bulding dev86 as a dependency of virtualbox fails like this:

make[4]: Entering directory `/var/tmp/portage/sys-devel/dev86-0.16.18/work/dev86-0.16.18/libc/bcc'
ncc -Mn -O -D__LIBC__   -c -o __ldivmod.o __ldivmod.c
00002                       00000000>           .txxt
***** illegal label..................................^
00003                       00000000>           .eeen
***** illegal label..................................^
00031 000C           81DF                 000C> sbb     di**0
***** comma expected......................................^
***** junk after operands...................................^
00037 0018           81DB                 0018> sbb     bx**0
***** comma expected......................................^
***** junk after operands...................................^
00040                       00000000>           .eeen
***** illegal label..................................^
00046                                           mov     bpssp
***** comma expected.........................................^
***** factor expected........................................^
***** illegal indirect to indirect...........................^
00055                                           cmp     bxccx
***** comma expected.........................................^
***** factor expected........................................^

About 3000 similar lines follow.

Reproducible: Always




Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.0.7-gentoo x86_64)
=================================================================
System uname: Linux-3.0.7-gentoo-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 12 Feb 2012 11:15:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo seden x-gflohr
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-ggdb -O0 -pipe -march=core2 -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-ggdb -O0 -pipe -march=core2 -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.bg/ http://ftp.gentoo.bg/ "
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en fr it bg ru ar ga ga_IE nl"
MAKEOPTS="-j5"
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="/var/lib/layman/seden /var/lib/layman/gflohr"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 avahi bash-completion berkdb bitmap-fonts branding bzip2 cairo cdda cdr cjk cli colord consolekit cracklib crypt cups cxx daap dbus dri dts dvd dvdr dvdread eds emacs emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gdu gif gimp gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk iconv iphone ipod ipv6 jpeg laptop lcms ldap libcaca libnotify lm_sensors logrotate mad matroska mjpeg mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcmcia pcre pdf png policykit portaudio ppds pppd pulseaudio python qt3support qt4 readline sdl session socialweb spell sse sse2 ssl startup-notification svg sysfs system-sqlite tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis x264 xcb xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cgi cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan 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 evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en fr it bg ru ar ga ga_IE nl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Guido Flohr 2012-02-13 15:38:31 UTC
I downgraded my gcc to 4.4.5 and 4.3.4 to no avail.  revdep-rebuild also didn't help.

I can compile the package on 32 bit system with gcc 4.3.4.

I then tried to compile the vanilla sources like this:

    make DIST=/tmp CC=/usr/bin/x86_64-pc-linux-gnu-gcc-4.5.3

That produces a different error now:

ncc -c -Mn -O -D__LIBC__ -D__LIBC_VER__='"0.16.18"' -o crt0.o crt0.c
*** buffer overflow detected ***: ncc terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x7fe0a28220a7]
/lib64/libc.so.6(+0xedf00)[0x7fe0a281ff00]
/lib64/libc.so.6(+0xee57b)[0x7fe0a282057b]
ncc[0x401547]
ncc[0x403307]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7fe0a275409d]
ncc[0x400db9]
======= Memory map: ========
00400000-00405000 r-xp 00000000 08:03 5021375                            /tmp/dev86-0.16.18/bin/ncc

That is same as https://bugs.gentoo.org/show_bug.cgi?id=289528.

I then tried to uncomment the two epatch directives from the ebuild.  But that gives the original error again (the one with the 3000 lines).

Clueless for now.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-14 17:33:35 UTC
Please attach the entire build log to this bug report.
Comment 3 Guido Flohr 2012-02-16 12:44:05 UTC
Created attachment 302147 [details]
build.log