public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Gerald Pfeifer <gerald@pfeifer.com>,
	Andreas Tobler <andreast@freebsd.org>
Cc: "gcc@gcc.gnu.org" <gcc@gcc.gnu.org>
Subject: GCC testing on FreeBSD
Date: Fri, 26 Apr 2024 12:06:57 +0100	[thread overview]
Message-ID: <CAH6eHdRgPSYcV3BwRjqNQFhhOu7o1TzOgTJkHEg1U3V1rqy8eQ@mail.gmail.com> (raw)

Hi Gerald, Andreas,

How are you testing on FreeBSD?

When I build GCC trunk on FreeBSD 14.0 and try to run the libstdc++
testsuite it fails due to lots of these errors:

Excess errors:
/usr/local/bin/ld: /tmp//ccev946q.o: relocation R_X86_64_32 against
symbol `_ZTIN10__cxxabiv115__forced_unwindE@@CXXABI_1.3.2' can not be
used when making a PDE object; recompile with -fPIE
/usr/local/bin/ld: failed to set dynamic section sizes: bad value

Which suggests that -fPIE is missing from the default test flags.

Have you seen this? Do you do something locally to work around it?

Thanks,
Jonathan

             reply	other threads:[~2024-04-26 11:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-26 11:06 Jonathan Wakely [this message]
2024-04-28 10:24 ` Gerald Pfeifer
2024-04-28 10:32   ` Rainer Orth
2024-04-28 13:39   ` Lorenzo Salvadore
2024-04-28 17:19     ` Rainer Orth
2024-04-28 18:38       ` Lorenzo Salvadore
2024-04-29 12:21         ` Rainer Orth
2024-04-28 16:17   ` Jonathan Wakely

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=CAH6eHdRgPSYcV3BwRjqNQFhhOu7o1TzOgTJkHEg1U3V1rqy8eQ@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=andreast@freebsd.org \
    --cc=gcc@gcc.gnu.org \
    --cc=gerald@pfeifer.com \
    /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).