[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#134315: iostream.h does not like -fPIC



On Sunday 17 February 2002 02:09, you wrote:
> On Sunday 17 February 2002 01:49, Daniel Jacobowitz wrote:
> > Does this still happen if you compile the C++ with g++?
>
> Yes, it does.. I forgot to include a backtrace in my the report, it is:
>
> 0x00010750 in __static_initialization_and_destruction_0(int, int) ()
> (gdb) bt
> #0  0x00010750 in __static_initialization_and_destruction_0(int, int) ()
> #1  0x000107ec in _GLOBAL__I_main ()
> #2  0x00010860 in __do_global_ctors_aux ()
> #3  0x00010508 in _init ()
> #4  0x401b2c1c in ?? ()

or with -g:

Program received signal SIGSEGV, Segmentation fault.
0x00010750 in __static_initialization_and_destruction_0(int, int) (
    __initialize_p=1, __priority=65535)
    at /usr/include/g++-v3/bits/basic_string.h:57
57        // pointer to the header.
(gdb) bt
#0  0x00010750 in __static_initialization_and_destruction_0(int, int) (
    __initialize_p=1, __priority=65535)
    at /usr/include/g++-v3/bits/basic_string.h:57
#1  0x000107ec in _GLOBAL__I_main ()
    at /usr/include/g++-v3/bits/std_iostream.h:57
#2  0x00010860 in __do_global_ctors_aux ()
#3  0x00010508 in _init ()
#4  0x401b2c1c in ?? ()




Reply to: