stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-124) [gcc 3.4.4/FreeBSD 6.0] compilation errors due to misconfiguration
Date Thu, 19 Jan 2006 23:23:45 GMT
    [ http://issues.apache.org/jira/browse/STDCXX-124?page=comments#action_12363324 ] 

Martin Sebor commented on STDCXX-124:
-------------------------------------

Looks like the SIZE_T.cpp test (among others) fails to link due to some missing symbols:

gcc -c -pedantic -nostdinc++ -g  -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long
-Wcast-align -D_RWSTDDEBUG -pthread -D_RWSTD_USE_CONFIG -I. /tmp/sebor/trunk/etc/config/src/SIZE_T.cpp
/tmp/sebor/trunk/etc/config/src/SIZE_T.cpp: In function `void get_type_names(int, ...)':
/tmp/sebor/trunk/etc/config/src/SIZE_T.cpp:152: warning: unsigned int format, different type
arg (arg 2)
/tmp/sebor/trunk/etc/config/src/SIZE_T.cpp: At global scope:
/tmp/sebor/trunk/etc/config/src/SIZE_T.cpp:47: warning: unused parameter 'dummy'
gcc SIZE_T.o -pthread  -lm -lsupc++ -o SIZE_T
/usr/lib/libsupc++.a(eh_throw.o)(.text.__cxa_throw+0x18): In function `__cxa_throw':: undefined
reference to `__cxxabiv1::__unexpected_handler'
/usr/lib/libsupc++.a(eh_throw.o)(.text.__cxa_throw+0x2c): In function `__cxa_throw':: undefined
reference to `__cxxabiv1::__terminate_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt9terminatev+0x10): In function `std::terminate()'::
undefined reference to `__cxxabiv1::__terminate_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt10unexpectedv+0x10): In function `std::unexpected()'::
undefined reference to `__cxxabiv1::__unexpected_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt13set_terminatePFvvE+0x8): In function `std::set_terminate(void
(*)())':: undefined reference to `__cxxabiv1::__terminate_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt14set_unexpectedPFvvE+0x8): In function `std::set_unexpected(void
(*)())':: undefined reference to `__cxxabiv1::__unexpected_handler'

> [gcc 3.4.4/FreeBSD 6.0] compilation errors due to misconfiguration
> ------------------------------------------------------------------
>
>          Key: STDCXX-124
>          URL: http://issues.apache.org/jira/browse/STDCXX-124
>      Project: STDCXX
>         Type: Bug
>   Components: Configuration
>     Versions: 4.1.3
>  Environment: gcc 3.4.4, FreeBSD 6.0
>     Reporter: Martin Sebor
>     Priority: Critical
>      Fix For: 4.1.2

>
> $ nice gmake BUILDTYPE=15s BUILDDIR=/tmp/sebor/gcc-3.4.4-15s
> GNUmakefile:283: "CONFIG not specified, using gcc.config"
> creating BUILDDIR=/tmp/sebor/gcc-3.4.4-15s
> generating /tmp/sebor/gcc-3.4.4-15s/makefile.in from /tmp/sebor/trunk/etc/config/gcc.config
> gmake[1]: Entering directory `/tmp/sebor/gcc-3.4.4-15s'
> gmake[2]: Entering directory `/tmp/sebor/gcc-3.4.4-15s/include'
> gmake config
> gmake[3]: Entering directory `/tmp/sebor/gcc-3.4.4-15s/include'
> configuring for gcc-3.4.4 on freebsd-6.0-release-alpha
> checking if compiler is sane                       ok
> checking if linker is sane                         ok
> checking if run environment is sane                ok
> checking system architecture                       LP64 little endian
> ...
> gmake[2]: Entering directory `/tmp/sebor/gcc-3.4.4-15s/lib'
> gcc -c -I/tmp/sebor/trunk/include/ansi -D_RWSTDDEBUG   -pthread -D_RWSTD_USE_CONFIG -I/tmp/sebor/gcc-3.4.4-15s/include
-I/tmp/sebor/trunk/include  -pedantic -nostdinc++ -g  -W -Wall -Wcast-qual -Winline -Wshadow
-Wwrite-strings -Wno-long-long -Wcast-align   /tmp/sebor/trunk/src/assert.cpp
> gcc -c -I/tmp/sebor/trunk/include/ansi -D_RWSTDDEBUG   -pthread -D_RWSTD_USE_CONFIG -I/tmp/sebor/gcc-3.4.4-15s/include
-I/tmp/sebor/trunk/include  -pedantic -nostdinc++ -g  -W -Wall -Wcast-qual -Winline -Wshadow
-Wwrite-strings -Wno-long-long -Wcast-align   /tmp/sebor/trunk/src/atomic-cxx.S
> gcc -c -I/tmp/sebor/trunk/include/ansi -D_RWSTDDEBUG   -pthread -D_RWSTD_USE_CONFIG -I/tmp/sebor/gcc-3.4.4-15s/include
-I/tmp/sebor/trunk/include  -pedantic -nostdinc++ -g  -W -Wall -Wcast-qual -Winline -Wshadow
-Wwrite-strings -Wno-long-long -Wcast-align   /tmp/sebor/trunk/src/bitset.cpp
> In file included from /tmp/sebor/trunk/include/string:32,
>                  from /tmp/sebor/trunk/include/bitset:27,
>                  from /tmp/sebor/trunk/src/bitset.cpp:24:
> /tmp/sebor/trunk/include/rw/_iosfwd.h:168: error: `_RWSTD_SEEK_SET' was not declared
in this scope
> /tmp/sebor/trunk/include/rw/_iosfwd.h:168: error: enumerator value for `__rw_beg' not
integer constant
> [... many other errors...]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message