[Bug c/11244] New: pipe hang when program compiled with -maix64 and -static
kminola at eng dot umd dot edu
gcc-bugzilla@gcc.gnu.org
Wed Jun 18 20:51:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11244
Summary: pipe hang when program compiled with -maix64 and -static
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: kminola@eng.umd.edu
CC: gcc-bugs@gcc.gnu.org
GCC build triplet: powerpc-ibm-aix5.2.0.0
GCC host triplet: powerpc-ibm-aix5.2.0.0
GCC target triplet: powerpc-ibm-aix5.2.0.0
/* On a powerpc-ibm-aix5.2.0.0 using
% gcc -v
Reading specs from
/data/gcc-3.3/AIX/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3/specs
Configured with: ../gcc-3.3/configure --enable-languages=c
--prefix=/data/gcc-3.3/AIX
Thread model: aix
gcc version 3.3
%
the following bug was observed.
% gcc -o foo foo.c -maix64 -static
% echo 10 | foo <- hangs!!!
Both -maix64 and -static as arguments seem to be necessary
to demonstrate the bug.
Using the native cc compiler and similar arguments, there
is no bug:
% cc -o foo foo.c -bstatic -q64 -bI:/lib/syscalls.exp
% echo 10 | foo
%
The bug also occurs using gcc-20030616 (the latest development
snapshot).
*/
main()
{
return 0;
}
More information about the Gcc-bugs
mailing list