Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 14704

Summary: xfree 4.2.99 r2 fails during ebuild install
Product: Gentoo Linux Reporter: Paul Komarek <komarek.paul>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: 1.4_rc2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Komarek 2003-01-29 01:00:12 UTC
I did an ebuild xfree-4.2.99.3-r2.ebuild compile, followed by install.  During
install, compilation died at glxinfo.c.  The errors were c++ errors while
linking to libglu, and appending -lstdc++ to the compile line or changing gcc to
g++ resulted in a "successful" (no complaints) compile.

I checked the libGLU code, and it definitely is meant to be C++.

The interesting part of the install output is below.  I only kept a few errors,
because the "undefined reference to `operator new...`" was the big clue. ;-)

make[3]: Entering directory
`/var/tmp/portage/xfree-4.2.99.3-r2/work/xc/programs/glxinfo'
rm -f glxinfo
gcc -m32 -o glxinfo -mno-mmx -ansi -pedantic -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wredundant-decls -Wnested-externs -Wundef     -L../../exports/lib   glxinfo.o
-lGLU -lGL -lXext -lX11  -lpthread -lm   -Wl,-rpath-link,../../exports/lib
../../exports/lib/libGLU.so: undefined reference to `operator
new(unsigned)@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `vtable for
__cxxabiv1::__class_type_info@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `vtable for
__cxxabiv1::__vmi_class_type_info@GLIBCPP_3.2'

-Paul Komarek
Comment 1 Paul Komarek 2003-01-29 01:31:31 UTC
Probably nobody should look into this bug until I post again.  I just found some
rogue c++ libs in /usr/local/lib that might have been causing the problem.

-Paul Komarek
Comment 2 SpanKY gentoo-dev 2003-01-29 01:41:33 UTC
did you upgrade from 1.2 to 1.4 ? 
Comment 3 Paul Komarek 2003-01-29 03:16:20 UTC
Okay, after nukeing some old libs in /usr/local/lib, xfree 4.2.99 rc2 builds
just fine.  Sorry for the bogus bug.

And yes, I have been "upgrading" from 1.2 to 1.4, as SpanKY cleverly deduced. =-)

-Paul Komarek