Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 171231
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Paul de Vrieze <pauldv@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Josef Reidinger <queen.killer@seznam.cz>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.info emerge --info text/plain Josef Reidinger 2007-03-17 11:55 0000 8.39 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 171231 depends on: Show dependency tree
Bug 171231 blocks: 178750
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-17 11:54 0000
last part of log, if you need complete, write it and i post it.
gcc -c -I.
-I/var/tmp/portage/sys-libs/db-4.5.20_p2/work/db-4.5.20/build_unix/../dist/..
-D_GNU_SOURCE -D_REENTRANT -I/opt/blackdown-jdk-1.4.2.03/include
-I/opt/blackdown-jdk-1.4.2.03/include/linux
/var/tmp/portage/sys-libs/db-4.5.20_p2/work/db-4.5.20/build_unix/../dist/../mutex/mut_tas.c
 -fPIC -DPIC -o .libs/mut_tas.o
/var/tmp/portage/sys-libs/db-4.5.20_p2/work/db-4.5.20/build_unix/../dist/../mutex/mut_tas.c:
In function '__db_tas_mutex_lock':
/var/tmp/portage/sys-libs/db-4.5.20_p2/work/db-4.5.20/build_unix/../dist/../mutex/mut_tas.c:110:
error: inconsistent operand constraints in an 'asm'
make: *** [mut_tas.lo] Error 1

!!! ERROR: sys-libs/db-4.5.20_p2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4900:   Called src_compile
  db-4.5.20_p2.ebuild, line 106:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/log/portage/sys-libs:db-4.5.20_p2:20070317-113132.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH=""
JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

------- Comment #1 From Josef Reidinger 2007-03-17 11:55:12 0000 -------
Created an attachment (id=113557) [details]
emerge --info

------- Comment #2 From Paul de Vrieze 2007-03-23 20:34:33 0000 -------
Can some of the amd64 people confirm this? Perhaps it then is good that the
package is masked (even though it's for a different reason).

------- Comment #3 From Pacho Ramos 2007-03-24 12:17:26 0000 -------
I cannot reproduce that, but I am not using blackdown (I only have jdk-1.5
installed on my amd64 system):
[ebuild   R   ] sys-libs/db-4.5.20_p2  USE="java -bootstrap -doc -nocxx -tcl
-test" 0 kB 

My emerge --info:
Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0,
2.6.20-ck1 x86_64)
=================================================================
System uname: 2.6.20-ck1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 24 Mar 2007 11:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect cvs distlocks
metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise
/usr/portage/local/layman/armagetron /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 apache2 arts asf audiofile bash-completion
beagle bitmap-fonts bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli
cpdflib cpudetection cracklib cross crypt cscope cups curl dbus dga divx4linux
dlloader dri dts dvb dvd dvdr dvdread encode erandom escreen esd evo evolution
exif fam fbcon flac foomaticdb fortran ftp galago gb gcj ggi gif gimp gimpprint
glitz glut glx gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal
iconv idn imagemagick imlib isdnlog ithreads jabber jack java jpeg kde
kdeenablefinal kdehiddenvisibility latex lcms libg++ libnotify logrotate mad
madwifi midi mikmod mime mng mono motif mp3 mpeg mpi mplayer musepack
musicbrainz nas nautilus ncurses nethack network nls nocardbus nptl nptlonly
nvidia ogg oggvorbis openal opengl oss pam pcre pdf perl pic plotutils png
posix ppds pppd python qt3 qt4 quicktime readline reflection rtc ruby scanner
sdl seamonkey session slang slp sockets spell spl sse3 ssl startup-notification
svg sysvipc tcltk tcpd tetex theora threads tiff timidity tk totem trayicon
truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vim vorbis
wma wmf xcomposite xine xml xml2 xorg xpm 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 mulaw multi
null plug rate route share shm softvol" DVB_CARDS="usb-dib0700" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en_US"
USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS

------- Comment #4 From Christian Fuß 2007-03-24 12:26:41 0000 -------
Hello Guys, i'm running on x86 i've the same Problem.

i have played around with the USE Flags from this Package.

now i've tryed:

USE="tcl" emerge sys-libs/db

and it worked, i don't know why this prodjuces a successfull compile, but that
works for me, check it out.

------- Comment #5 From Paul de Vrieze 2007-03-25 20:05:11 0000 -------
I can build properly on x86 without the tcl flag on.

------- Comment #6 From Wulf Krueger (RETIRED) 2007-04-11 22:04:00 0000 -------
I can reproduce this consistently on AMD64 if I remove -O<x> (x>0) from my
CFLAGS or set -O0 there. 

------- Comment #7 From Josef Reidinger 2007-04-12 07:48:04 0000 -------
(In reply to comment #6)
> I can reproduce this consistently on AMD64 if I remove -O<x> (x>0) from my
> CFLAGS or set -O0 there. 
> 

Hmm, I use -O2 and still have this problem ( I try compile it more then ten
times if some package upgrade doesn't help).
add tcl to USE flag doesn't help.

------- Comment #8 From Caleb Tennis 2007-05-16 12:04:33 0000 -------
qt had a similar issue recently, on gcc 3.4 and the -O2 flag.  Can you confirm
that using -O0 does not fix it?

------- Comment #9 From Chris Bandy 2007-05-17 11:10:57 0000 -------
Reproduced with -O0 on amd64 stable. Compiles fine with -01 or -02.

Portage 2.1.2.2 (default-linux/amd64/2007.0/desktop, gcc-4.1.1, glibc-2.5-r2,
2.6.20-gentoo-r8-smp x86_64)

GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.11"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""

------- Comment #10 From Christian Faulhammer 2007-05-22 21:02:43 0000 -------
I can reproduce here with -O0 (failure) and -O2 (success)
My proposal is to filter -O0 and exchange it with -O1.

Portage 2.1.2.7 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r2,
2.6.20-hardened-r2 x86_64)
=================================================================
System uname: 2.6.20-hardened-r2 x86_64 Dual Core AMD Opteron(tm) Processor 280
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 22 May 2007 20:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/php/apache2-php4/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=k8 -fomit-frame-pointer -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg cleanpkgdir distclean distlocks genpkgindex
metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j8"
PKGDIR="/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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 bash-completion berkdb bitmap-fonts cli cracklib crypt cups dri
emacs fortran gdbm gpm iconv ipv6 isdnlog ithreads libg++ midi mudflap ncurses
nls nptl nptlonly openmp pam pcre perl ppds pppd python readline reflection
session spl ssl tcpd threads truetype-fonts type1-fonts unicode xorg 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 mulaw multi null plug rate route share shm softvol"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint
i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage
siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #11 From Caleb Tennis 2007-05-29 12:03:10 0000 -------
We ran into a similar issue with Qt recently, bug 178652.

It's very much related to -OX, although in that case it was -O2 causing the
failure and the reporter was using gcc 3.x.

opfer, feel free to add the filter-flags for amd64.

------- Comment #12 From Christoph Mende 2007-06-03 23:20:46 0000 -------
Added the filter-flags for amd64, Opfer left the amd64 team

------- Comment #13 From Jakub Moc (RETIRED) 2007-07-01 10:54:04 0000 -------
*** Bug 183814 has been marked as a duplicate of this bug. ***

------- Comment #14 From Jakub Moc (RETIRED) 2007-07-01 10:58:15 0000 -------
Reopen; for people that don't have any -O? in C[XX]FLAGS this needs something
like

is-flag -O[s123] || append-flags -O2

------- Comment #15 From Christoph Mende 2007-07-01 12:02:38 0000 -------
+  01 Jul 2007; Christoph Mende <angelos@gentoo.org> db-4.5.20_p2.ebuild:
+  Appending -O2 for people who don't have any optimization turned on, bug
#171231

------- Comment #16 From Jakub Moc (RETIRED) 2007-09-21 18:07:15 0000 -------
*** Bug 193357 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug