https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89096

--- Comment #3 from David Edelsohn <dje at gcc dot gnu.org> ---
This is not new. You need to provide more information about how this is
occurring. "main.cc.o" implies this this is C++. The "ro" section is used for
read-only data. There have been other changes in GCC about the placement of
data and that may have caused some type of object to be placed in read-only
data that is not correct for AIX.

AIX only really has three sections: Text, Data and BSS.  Read-only data is
placed in the text section, so that message is correct. It implies that some
read-write data / relocatable data is being placed in the read-only section.

On the other hand, GCC itself is C++ code. There are many other C++ application
that compile, link and run correctly. So there is something more about the
specific application that is eliciting this error.

Reply via email to