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

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



retitle 134315 [fixed in g++-3.1] iostream.h does not like -fPIC
tags 134315 + fixed
reassign 134315 g++-3.0
thanks

Arjen Hommersom writes:
> Package: gcc
> Version: 3.0.3-1
> 
> This script:
> 
> #!/bin/sh
> 
> cat > /tmp/test.cc << EOF
> #include <iostream.h>
> 
> int main(void)
> {          
>             return 0;
> }
> EOF
> cd /tmp
> gcc -o /tmp/test -fPIC /tmp/test.cc -lstdc++
> /tmp/test
> rm -rf /tmp/test.cc
> rm -rf /tmp/test
> 
> results in a segmentation fault.
> 
> This is in Debian GNU/Linux 3.0, kernel 2.4.17-pa11 and libc6 
> 2.2.5-3.0.1 on the hppa architecture.
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


-- 
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: