libstdc++-v3 won't build on AIX 4.1 any more (3.0 branch)
Alexandre Oliva
aoliva@redhat.com
Thu May 17 22:07:00 GMT 2001
On May 18, 2001, David Edelsohn <dje@watson.ibm.com> wrote:
> Fine with me.
> What doesn't work on AIX 4.1?
Originally, it failed to build because os_include_dir was set to
config/os/generic, but there was no atomicity.h in there. Then, Ben
suggested me to use config/cpu/powerpc, because the primitives we
needed were defined there. Unfortunately, they used PowerPC-specific
opcodes, but since we compile the main multilib variant with
-mcpu=common, it failed to assemble. Finally, I switched to using
config/cpu/generic, where there are fake implementations of the needed
functions, and it is working fine.
> fetch_and_add() does not exist?
No. I had just failed to realize that config/os/aix/bits/atomicity.h
might work on AIX 4.1. I've just verified that fetch_and_add() does
exist, so it's probably ok to use the AIX-specific atomicity.h on AIX
4.1, in which case this patch would work. I'm testing it now. Do we
want to use this, even though we don't support threads, or should I
just leave it at that? I.e., ok to install, if this works?
More information about the Gcc-bugs
mailing list