[Bug c++/30376] New: aspell-0.60.5 fails to build with -O3 on gcc-4.1.2 20061222 (prerelease)
chris2553 at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jan 4 22:04:00 GMT 2007
I get the following failure trying to build aspell-0.60.5 with gcc 4.1.2
20061222 (prerelease):
bin/sh ./libtool --tag=CXX --mode=link i386-pc-linux-g++ -O3 -march=i386
-fno-strength-reduce -fno-exceptions -fno-exceptions -s -o aspell
prog/aspell.o prog/check_funs.o prog/checker_string.o libaspell.la -lncurses
-ldl -ldl
i386-pc-linux-g++ -O3 -march=i386 -fno-strength-reduce -fno-exceptions
-fno-exceptions -s -o .libs/aspell prog/aspell.o prog/check_funs.o
prog/checker_string.o ./.libs/libaspell.so -L/usr/lib /usr/lib/libintl.so
/usr/lib/libstdc++.so -lncurses -ldl
./.libs/libaspell.so: undefined reference to
`acommon::HashTable<acommon::StringMap::Parms>::erase(char const* const&)'
collect2: ld returned 1 exit status
make[1]: *** [aspell] Error 1
make[1]: Leaving directory `/home/users/chris/rpm/BUILD/aspell-0.60.5'
make: *** [all-recursive] Error 1
If I change the optimisation to -O2, the build completes, so I guess I have a
GCC problem.
Happy to try patches and provide additional diagnostics.
--
Summary: aspell-0.60.5 fails to build with -O3 on gcc-4.1.2
20061222 (prerelease)
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: chris2553 at googlemail dot com
GCC build triplet: 386-pc-linux
GCC host triplet: i386-pc-linux
GCC target triplet: 386-pc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30376
More information about the Gcc-bugs
mailing list