Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173263 - glibc 2.5-r1 and 2.5 emerge failed with unknown opcode
Summary: glibc 2.5-r1 and 2.5 emerge failed with unknown opcode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Sparc64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-03 17:29 UTC by evo
Modified: 2007-05-31 16:18 UTC (History)
2 users (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 evo 2007-04-03 17:29:46 UTC
This happens on an Ultra2 with GCC 3.4.6 running Gentoo, as well as a Blade 150 with GCC 4.1.2:


<stdin>: Assembler messages:
<stdin>:2: Fatal error: Unknown opcode: `syscall_error_handler SYSCALL_ERROR_HANDLER_ENTRY(_   _syscall_error_handler2).global __errno_location'
make[2]: *** [/var/tmp/portage/glibc-2.5-r1/work/build-sparc32-sparc-unknown-linux-gnu-linux   threads/posix/waitpid.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.5-r1/work/glibc-2.5/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.5-r1/work/glibc-2.5'
make: *** [all] Error 2



Reproducible: Always




Kernel:Linux gentoo 2.6.20-hardened #1 Tue Apr 3 00:32:43 EDT 2007 sparc64 sun4u GNU/Linux

make.conf (Blade 150):
CFLAGS="-O2 -mcpu=ultrasparc -mvis -pipe"
CHOST="sparc-unknown-linux-gnu"
CXXFLAGS="-O2 -mcpu=ultrasparc -mvis -pipe"
USE="-nls 64 nptl selinux hardened imap ipv6 maildir mysql clamav ldap"
ACCEPT_KEYWORDS="~sparc"

----
I have also tried compiling without -mvis, with the same results
Comment 1 evo 2007-04-03 17:31:55 UTC
emerge --info
!!! SELinux module not found. Please verify that it was installed.
Portage 2.1-r2 (selinux/sparc/sparc64/2006.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.20-hardened sparc64)
=================================================================
System uname: 2.6.20-hardened sparc64 sun4u
Gentoo Base System release 1.12.9
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r6
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -mvis -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -mvis -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks loadpolicy metadata-transfer sandbox selinux sesandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc 64 berkdb clamav crypt gcc64 imap ipv6 ldap maildir midi mysql ncurses nptl pam python readline selinux ssl tcpd zlib alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 evo 2007-04-03 20:26:40 UTC
missing use flag nptl-only