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

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



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.





Reply to: