libstdc++/7926: i486 instructions in header files make c++ programs crash on i386
mschill4@ix.urz.uni-heidelberg.de
mschill4@ix.urz.uni-heidelberg.de
Mon Sep 16 00:52:00 GMT 2002
>Number: 7926
>Category: libstdc++
>Synopsis: i486 instructions in header files make c++ programs crash on i386
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 16 00:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Manuel Tobias Schiller
>Release: gcc-3.2
>Organization:
>Environment:
i388 running Linux 2.2.21 and glibc 2.2.5
>Description:
When configuring and building gcc 3.2 on a i386-linux machine
c++ programs fail because you use 486 code in inline assembler
statements in your atomicity headers (xadd, cmpxchg and others)
libjava has the same problems. It would be nice if you could
rework the header files to use non-atomic i386 instructions
if such behaviour is required. A special configure option
would do, too. If you need help how the appropriate headers
for i386 might look like, mail me, but I haven't got the
files around here at the university, so it might take some
time to send them in...
>How-To-Repeat:
You can't repeat it unless you still have an old i386 around...
>Fix:
rework i386 atomicity header files to make a distinction
between i386 and i486 and newer...
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list