Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172343 - sci-libs/cln-1.1.13 fails to compile: assembler error
Summary: sci-libs/cln-1.1.13 fails to compile: assembler error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-26 20:53 UTC by Tom Macdonald
Modified: 2007-03-27 23:25 UTC (History)
0 users

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 Tom Macdonald 2007-03-26 20:53:43 UTC
This is the error that I get:

 x86_64-pc-linux-gnu-g++ -O2 -march=athlon64 -pipe -fomit-frame-pointer -ftracer -I../include -I../include -I./complex -I./base -I./float -I./integer -I./base/string -I./base/digitseq -I./base/digit -Ibase -c ./complex/input/cl_N_read_stream.cc  -fPIC -DPIC -o .libs/cl_N_read_stream.o
 x86_64-pc-linux-gnu-g++ -O2 -march=athlon64 -pipe -fomit-frame-pointer -ftracer -I../include -I../include -I./base -Ibase -c ./base/random/cl_random_def.cc  -fPIC -DPIC -o .libs/cl_random_def.o
{standard input}: Assembler messages:
{standard input}:58: Error: symbol `cl_module__cl_random_def__ctorend' is already defined
make[3]: *** [cl_random_def.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/sci-libs/cln-1.1.13/work/cln-1.1.13/src'
make[2]: *** [base/random.target] Error 2
make[2]: Leaving directory `/var/tmp/portage/sci-libs/cln-1.1.13/work/cln-1.1.13/src'
make[1]: *** [base.target] Error 2
make[1]: *** Waiting for unfinished jobs....

Here's my emerge --info:

tess ~ # emerge --info
Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.19-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3800+
Gentoo Base System version 1.12.9
Timestamp of tree: Sun, 25 Mar 2007 18:30:08 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -ftracer "
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/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -ftracer "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ ftp://cesium.di.uminho.pt/pub/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo"
LANG="en_GB.UTF-8."
LINGUAS="en fr en_GB fr_FR"
MAKEOPTS="-j2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/zugaina /usr/local/portage/layman/xeffects /usr/local/portage/overlay /usr/local/portage/layman/dlang /usr/local/portage/layman/xeffects-experimental /usr/local/portage/layman/nouveau"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip S3TC X a52 aac aalib acpi alsa amd64 apache2 apm asf audiofile bash-completion bl bluetooth bogofilter branding browserplugin bzip2 cairo caps cdda cddb cdinstall cdio cdparanoia cdr chm chroot cpudetection crypt css curl curlwrappers d3d dbus dga dio directfb dnd dri dts dvd dvdr dvdread encode exif expat extras fam fat fbcon fbdev firefox flac font-server ftp gd gif glitz glx gnokii gphoto2 gpm hal howl imagemagick imap imlib insecure-patches insecure-savers jabber java javascript jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdexdeltas libcaca libwww live lzo mad maildir maps matroska matrox mbox mime mng moodbar motif mozsvg mp3 mpeg mpi mplayer msn mule multiuser musepack music musicbrainz ncurses nls nocd nptl nptlonly nsplugin ntfs offensive ofx ogg ole openal openexr opengl openssh pcre pdf perl pertty png posix python qt qt3 qt4 quicktime rar readline recode reiserfs rtc ruby sasl screen sdl session shorten skins slang slp snmp sockets sounds speedo speex spell spreadsheet sqlite sqlite3 ssl stream subversion svg sysfs syslog szip tcltk tcpd tetex tga theora tiff truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales vcd verbose videos visualization vlm vorbis webservices wmf wv wxwindows xanim xcomposite xine xml xorg xosd xpm xscreensaver xv xvid xvmc zeroconf 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" LINGUAS="en fr en_GB fr_FR" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Give me a shout if you need any more info.
Cheers
Tom
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2007-03-27 01:31:26 UTC
Hi Tom,

Thanks for your bug report!
Could you please try recompiling without "-ftracer"
and report back!

Thanks,
Markus
Comment 2 Tom Macdonald 2007-03-27 12:52:10 UTC
It worked. Cool!
Do I need to remove that CFLAG completely or will the ebuild do it?

Cheers,
Tom
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2007-03-27 22:20:27 UTC
(In reply to comment #2)
> It worked. Cool!
> Do I need to remove that CFLAG completely or will the ebuild do it?
> 
> Cheers,
> Tom
> 

Great, just like I thought! There is probably some interference with 
some of the inline assembly code in cln. I'd rather not start filtering
fairly uncommon CFLAGS and hence suggest that you either
remove ftracer from your CFLAGS globally or just remember to take it away
for compiling cln even though there might be problems lurking for other 
packages as well.

cheers,
Markus  
Comment 4 Tom Macdonald 2007-03-27 23:25:55 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > It worked. Cool!
> > Do I need to remove that CFLAG completely or will the ebuild do it?
> > 
> > Cheers,
> > Tom
> > 
> 
> Great, just like I thought! There is probably some interference with 
> some of the inline assembly code in cln. I'd rather not start filtering
> fairly uncommon CFLAGS and hence suggest that you either
> remove ftracer from your CFLAGS globally or just remember to take it away
> for compiling cln even though there might be problems lurking for other 
> packages as well.
> 
> cheers,
> Markus  
> 

Ok I've removed the flag from make.conf. It doesn't seem to do much anyway. Here's to hoping I don't have to recompile my entire system...

Thanks for your time,
Tom