Unable to build PowerPC AIX targets

Nick Clifton nickc@redhat.com
Tue Sep 16 10:12:25 GMT 2025


Hi Rainer,

   Building gas for AIX targeted PowerPC ports is currently failing
   because the comment_chars array is now ELF only:

ld: app.o: in function `do_scrub_begin':
gas/app.c:216:(.text+0x55): undefined reference to `comment_chars'

   I assume that there is no special need for the array to only be
   defined for the ELF target, so I found that a patch like the one
   attached solved the problem.  Does this work for you ?

Cheers
   Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc.comment-chars.patch
Type: text/x-patch
Size: 1797 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250916/3f80eff5/attachment.bin>


More information about the Binutils mailing list