Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30136 - Mysql 4.0.15 will not build with GCC 3.3
Summary: Mysql 4.0.15 will not build with GCC 3.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on: 28802
Blocks:
  Show dependency tree
 
Reported: 2003-10-01 23:12 UTC by Nick Burtner
Modified: 2003-10-06 10:11 UTC (History)
1 user (show)

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 Nick Burtner 2003-10-01 23:12:17 UTC
I'm using gcc 3.3-r3, and whenever I try to compile MySQL 4.0.15, it always throws back the error: _Unwind_Resume_or_Rethrow@GCC_3.3.  This makes it impossible to build MySQL, and I was wondering if anyone had any ideas on how to fix it.
Comment 1 SpanKY gentoo-dev 2003-10-01 23:18:10 UTC
please post the entire error
Comment 2 Nick Burtner 2003-10-04 05:55:58 UTC
Sorry this took so long, here's the error:

mkdir .libs
gcc -O3 -DDBUG_OFF -march=athlon-xp -O3 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS
-rdynamic -o .libs/mysqladmin mysqladmin.o  -lstdc++ ../libmysql/.libs/libmysqlclient.so
-L/usr/lib -lz -lcrypt -lnsl -lm -lssl -lcrypto -Wl,--rpath -Wl,/usr/lib/mysql
g++ -O3 -DDBUG_OFF -O2 -mcpu=i686 -pipe -felide-constructors -fno-exceptions
-fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o
.libs/mysql mysql.o readline.o sql_string.o completion_hash.o  -lreadline
-lncurses -lstdc++ ../libmysql/.libs/libmysqlclient.so -L/usr/lib -lz -lcrypt
-lnsl -lm -lssl -lcrypto -Wl,--rpath -Wl,/usr/lib/mysql
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libstdc++.so: undefined reference
to `_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status
make[2]: *** [mysqladmin] Error 1
make[2]: *** Waiting for unfinished jobs....
creating mysql
make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.15/work/mysql-4.0.15/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.15/work/mysql-4.0.15'
make: *** [all] Error 2
 
!!! ERROR: dev-db/mysql-4.0.15 failed.
!!! Function src_compile, Line 139, Exitcode 2
!!! compile problem
Comment 3 Nick Burtner 2003-10-04 07:55:23 UTC
Just tested with gcc 3.3.1-r4, error still occurs.
Comment 4 Joshua Kinard gentoo-dev 2003-10-04 16:37:25 UTC
This error is very similar to Bug 28802.  See there for additional info.
Comment 5 Nick Burtner 2003-10-06 06:08:15 UTC
After following the directions in bug 28802, the MySQL build went perfectly.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-06 10:11:24 UTC
closing as user reports other fix worked