Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135061 - dev-games/ode-0.5-r4 does not compile under and64 with gcc4.1
Summary: dev-games/ode-0.5-r4 does not compile under and64 with gcc4.1
Status: RESOLVED DUPLICATE of bug 135040
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-31 10:46 UTC by Doug McMillan
Modified: 2006-05-31 10:59 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 Doug McMillan 2006-05-31 10:46:30 UTC
#gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.4
 [2] x86_64-pc-linux-gnu-3.4.4-hardened
 [3] x86_64-pc-linux-gnu-3.4.4-hardenednopie
 [4] x86_64-pc-linux-gnu-3.4.4-hardenednopiessp
 [5] x86_64-pc-linux-gnu-3.4.4-hardenednossp
 [6] x86_64-pc-linux-gnu-4.1.1 *
 [7] x86_64-pc-linux-gnu-4.2.0-alpha20060429

This will compile with profile 1 not compile under profile 6. 
Under profile 6 I and others are getting get the following

make: *** [OPCODE/OPC_AABBTree.o] Error 1

!!! ERROR: dev-games/ode-0.5-r4 failed.
Call stack:
ebuild.sh, line 1531: Called dyn_compile
ebuild.sh, line 931: Called src_compile
ode-0.5-r4.ebuild, line 53: Called die


I also see a lot of warnings like this one before the error strikes:

g++ -c -Wall -fno-rtti -fno-exceptions -Wall -fomit-frame-pointer -ffast-math -O3 -mtune=k8 -march=k8 -pipe -fPIC -Iinclude -IOPCODE -DdTRIMESH_ENABLED -DdNODEBUG -O1 -o OPCODE/OPC_AABBTree.o OPCODE/OPC_AABBTree.cpp
OPCODE/OPC_AABBTree.h: In constructor 'Opcode::AABBTreeNode::AABBTreeNode()':
OPCODE/OPC_AABBTree.h:88: warning: 'Opcode::AABBTreeNode::mNbPrimitives' will be initialized after
OPCODE/OPC_AABBTree.h:87: warning: 'udword* Opcode::AABBTreeNode::mNodePrimitives'
OPCODE/OPC_AABBTree.cpp:56: warning: when initialized here
OPCODE/OPC_AABBTree.cpp: In destructor 'Opcode::AABBTreeNode::~AABBTreeNode()':
OPCODE/OPC_AABBTree.cpp:78: warning: unused variable 'Neg'
OPCODE/OPC_AABBTree.cpp: In member function 'bool Opcode::AABBTreeNode::Subdivide(Opcode::AABBTreeBuilder*)':
OPCODE/OPC_AABBTree.cpp:295: error: cast from 'Opcode::AABBTreeNode*' to 'udword' loses precision
OPCODE/OPC_AABBTree.cpp:309: error: cast from 'Opcode::AABBTreeNode*' to 'udword' loses precision
OPCODE/OPC_AABBTree.h: In constructor 'Opcode::AABBTree::AABBTree()':
OPCODE/OPC_AABBTree.h:134: warning: 'Opcode::AABBTree::mTotalNbNodes' will be initialized after
OPCODE/OPC_AABBTree.h:132: warning: 'Opcode::AABBTreeNode* Opcode::AABBTree::mPool'
OPCODE/OPC_AABBTree.cpp:373: warning: when initialized here

emerge --info gives

Portage 2.1_rc3-r2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r6 x86_64 AMD Sempron(tm) Processor 3300+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/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="amd64 X a52 aac acpi alsa apache2 arts avi bash-completion berkdb bitmap-fonts bonobo cdr clamav cli crypt cups dbus dedicated doc dri dv dvb dvd dvdr dvdread eds emboss emul-linux-x86 encode ffmpeg flac foomaticdb fortran gd gif glut gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog joystick jpeg jpeg2k kde lirc lm_sensors lzw lzw-tiff ming mng mp3 mpeg mysql mysqli mythtv ncurses nls nptl nptlonly offensive ogg openal opengl osc oss pam pcre pdflib perl png pppd python qt quicktime readline reflection samba sdl session sockets speex spell spl ssl tcpd tiff truetype-fonts type1-fonts usb v4l vcd videos vorbis xine xinerama xml xmms xorg xpm xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev input_devices_vmmouse input_devices_joystick kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_v4l video_cards_vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-31 10:59:56 UTC

*** This bug has been marked as a duplicate of 135040 ***