First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 70779
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: gunix@comhem.se
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 70779 depends on: Show dependency tree
Show dependency graph
Bug 70779 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   Opened: 2004-11-11 04:48 0000
Here is the result when I try to emerge dev-libs/cln


/bin/sh ../libtool --mode=link g++ -O2 -march=athlon-xp -pipe -fomit-frame-pointer -finline-functions -mmmx -m3dnow -msse  exam.o exam_I.o exam_RA.o exam_SF.o exam_FF.o exam_DF.o exam_LF.o exam_I_gcd.o exam_I_sqrtp.o  ../src/libcln.la -lm -o exam
mkdir .libs
g++ -O2 -march=athlon-xp -pipe -fomit-frame-pointer -finline-functions -mmmx -m3dnow -msse exam.o exam_I.o exam_RA.o exam_SF.o exam_FF.o exam_DF.o exam_LF.o exam_I_gcd.o exam_I_sqrtp.o -o .libs/exam  ../src/.libs/libcln.so /usr/lib/libgmp.so -lm
exam.o(.text+0x50): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `global constructors keyed to cl_module__cl_prin_globals__firstglobalfun'
exam.o(.text+0x5a): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `global constructors keyed to cl_module__cl_random_def__firstglobalfun'
exam.o(.text+0x64): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `global constructors keyed to cl_module__cl_FF_globals__firstglobalfun'
exam.o(.text+0x6e): In function `__static_initialization_and_destruction_0(int, int)':
------ and a lot more errors----

I use gentoo on a x86 machine.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Patrick Kursawe 2004-11-11 06:20:02 0000 -------
Could you please tell us which version of cln you tried to emerge and which
version of gmp you have?

------- Comment #2 From gunix@comhem.se 2004-11-11 06:52:18 0000 -------
Sorry... I forgot this.
I was trying to emerge version  1.1.16 of cln  

gmp version 4.1.3

------- Comment #3 From Patrick Kursawe 2004-11-16 00:09:59 0000 -------
I think you mean 1.1.6 :-)
Works fine for me. Your "emerge info" output would be nice, maybe also your binutils version.

------- Comment #4 From gunix@comhem.se 2004-11-16 13:59:36 0000 -------
emerge -s binutils tells me:
2.14.90.0.8-r1

emerge info

 emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8.1 i686)
=================================================================
System uname: 2.6.8.1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -finline-functions -mmmx -m3dnow -msse"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -finline-functions -mmmx -m3dnow -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acl acpi adns alsa apache2 apm arts atlas avi berkdb bindist bitmap-fonts bonobo cdparanoia cdr crypt cscope cups curl dga doc dvd encode esd ethereal evo f77 fam fastcgi fb firebird flac foomaticdb fortran gcj gd gdbm ggi gif ginac gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap imlib innodb jabber jack java jpeg junit kde lcms ldap lesstif libg++ libgda libwww mad maildir mbox mcal mikmod mmx motif mozilla mpeg mpi msn mysql nas ncurses nls odbc oggvorbis opengl oscar oss pam pdflib perl plotutils png postgres ppds python qt quicktime readline ruby samba sasl scanner sdl slang speex spell sqlite sse ssl svg svga tcltk tcpd tetex theora tiff truetype v4l v4l2 videos vmf wxwindows x86 xml xml2 xmms xv zlib"

------- Comment #5 From Patrick Kursawe 2004-11-23 00:30:10 0000 -------
Looks like it has something to do with your CFLAGS... investigation will take
some time.

------- Comment #6 From Patrick Kursawe 2004-11-23 08:59:15 0000 -------
Ok, filtering "-finline-functions" for gcc 3.3.4 from now on for this package.
Thanks for reporting.

------- Comment #7 From gunix@comhem.se 2004-12-01 09:31:14 0000 -------
In the ebuild it now says:

# Trouble: see bug #70779
        if ["$( gcc-fullversion )" == "3.3.4" ]; then
                filter-flags -finline-functions
        fi

So if I understand this correctly, the ebuild has been updated
But I still can't compile it.
I get:

g++ -O2 -march=athlon-xp -pipe -fomit-frame-pointer -finline-functions -mmmx -m3dnow -msse exam.o exam_I.o exam_RA.o exam_SF.o exam_FF.o exam_DF.o exam_LF.o exam_I_gcd.o exam_I_sqrtp.o -o .libs/exam  ../src/.libs/libcln.so /usr/lib/libgmp.so -lm
exam.o(.text+0x50): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `global constructors keyed to cl_module__cl_prin_globals__firstglobalfun'

This looks like the previous problem.

------- Comment #8 From Patrick Kursawe 2004-12-01 23:00:19 0000 -------
Oh, sorry. A missing blank. Please replace "[$(" by "[ $(" in the line you
quoted.

First Last Prev Next    No search results available      Search page      Enter new bug