extend gthr-posix.h with rwlock
Luke Dalessandro
luked@cs.rochester.edu
Fri Jun 6 00:05:00 GMT 2008
David Edelsohn wrote:
>>>>>> Luke Dalessandro writes:
>
> Luke> Thank you, this was indeed the problem. I added the needed stubbs in
> Luke> gthr-single.h and it now compiles fine. Unfortunately there seems to be
> Luke> something wrong with my installation of ld as linking fails with a large
> Luke> number of errors of the form:
>
> Luke> ld: 0711-252 SEVERE ERROR: File auxiliary symbol entry 1 in object _negdi2_s.o:
> Luke> Field x_offset contains 4. Valid values are between 4 and -1.
> Luke> The object name is being substituted.
>
> Luke> Unfortunately I have almost no experience with AIX. I'll look for a prebuilt
> Luke> ld that seems newer than mine to see if this helps the problem.
>
> Pre-built ld? AIX ships with ld. Are you using GNU Binutils
> (gas, GNU ld, etc.) on AIX? Please use the native AIX tools (as, ld, nm,
> etc.) with AIX as mentioned in the platform-specific installation notes:
No, I'm sorry I wasn't clear. I am using all of the AIX tools, not Binutils. I
just assumed that there was something out-of-date with the ld that came with
our AIX 5.1 installation.
> http://gcc.gnu.org/install/specific.html#x-ibm-aix
I have seen this page before, and I'm not sure that it helps me. I'm running
into the same behavior posted at
http://gcc.gnu.org/ml/gcc-bugs/2005-04/msg03175.html, where the advice is also
to look at this page, but there doesn't seem to be a reply from the original
poster.
Thanks,
Luke
More information about the Gcc
mailing list