public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "John.Parke at alebra dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/109815] AIX: Combining -static-libstdc++ and -pthread causes a TLS-related link error
Date: Mon, 29 May 2023 20:44:33 +0000	[thread overview]
Message-ID: <bug-109815-4-fFqPTIJziT@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-109815-4@http.gcc.gnu.org/bugzilla/>

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

John Parke <John.Parke at alebra dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |John.Parke at alebra dot com

--- Comment #2 from John Parke <John.Parke at alebra dot com> ---
I can confirm that this is also a problem for 13.1.0 on AIX 7.1.4.33 TL04:


FILELIST: Number of previously inserted files processed: 38
(ld): resolve
ld: 0711-550 SEVERE ERROR: Object
/opt/freeware/gcc-13.1.0/lib/gcc/powerpc-ibm-aix7.1.4.0/13.1.0/pthread/libstdc++.a[libstdc++.so.6]
cannot be processed.
        RLD at address 0x28cfd for section 7 (.dwinfo) references a
thread-local
        variable, but a TLS-related reference type was not used.
RESOLVE: 48444 of 249782 symbols were kept.
RESOLVE: The return code is 12.
collect2: error: ld returned 12 exit status


Built with:
../gcc-13.1.0/configure --prefix=/opt/freeware/gcc-13.1.0 --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --enable-languages=c,c++,lto
--enable-version-specific-runtime-libs --disable-nls --with-cloog=no
--with-ppl=no --disable-libstdcxx-pch --enable-__cxa_atexit --disable-werror
--disable-rpath --enable-threads --enable-shared --enable-static
--enable-threads=aix --enable-libstdcxx-threads --with-cpu=default32 --with-pic
--with-static-standard-libraries --with-aix-soname=both --disable-libsanitizer
--disable-bootstrap --enable-libstdcxx-filesystem-ts --disable-libgomp

  parent reply	other threads:[~2023-05-29 20:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-11 15:38 [Bug c++/109815] New: " cameron.heide at betasystems dot com
2023-05-11 15:42 ` [Bug target/109815] " pinskia at gcc dot gnu.org
2023-05-29 20:44 ` John.Parke at alebra dot com [this message]
2023-08-15 14:06 ` cameron.heide at betasystems dot com
2023-08-15 21:09 ` John.Parke at alebra dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-109815-4-fFqPTIJziT@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).