public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sarah.kriesch at opensuse dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/103364] s390x: TLS reference in /usr/lib64/libLLVM.so mismatches non-TLS reference in /usr/lib64/libLLVM.so
Date: Sun, 05 Dec 2021 22:07:23 +0000	[thread overview]
Message-ID: <bug-103364-4-jOPmeeJQP0@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-103364-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #18 from Sarah Julia Kriesch <sarah.kriesch at opensuse dot org> ---
(In reply to Andreas Krebbel from comment #17)
> (In reply to Sarah Julia Kriesch from comment #12)
> > that is happening during the build process in OBS with a really minimal
> > openSUSE Tumbleweed. We are using VMs using QEMU and with 4GB of memory.
> 
> Why only 4GB? Isn't this way too low for building things like rust with lto
> and everything?
> 
We are sharing the LinuxONE together with SUSE. Not only OBS is using it. It is
also used for automated tests with openQA. Therefore, the resources are kept
minimal for build processes. The highest amount of memory for openSUSE based
builds is 12GB. I had to argue at the beginning of my time for s390x, that we
can receive it. Rust is using 8GB split into two 4GB processes. That is given
by a constraints file. The OBS is choosing a free worker node matching the
requirements.
But also 8GB did not help for PostgreSQL14. We are receiving the same error
message. And about the topic "too slow": x86 is using the same at PostgreSQL14
and is much faster than s390x for most builds.

> I've successfully built rust1.54 and postgresql14 several times in an
> opensuse tumbleweed container. So I would suspect either the kernel or the
> guest setup you are using. Could it perhaps be that ld processes got oom
> killed and have left half-complete binaries which triggered the error then?
> 
I checked the container images. They are updated continuously. Therefore, that
should be reproducible with that (if you are using my list with packages incl.
LLVM13). The kernel version can not be the issue. We are receiving this error
since multiple kernel versions and only with s390x.
I have checked the infrastructure with a build in the LinuxONE Community Cloud.
I am receiving the same issue with following commands:

sudo zypper in osc build obs-service-format_spec_file bsdtar #also possible
with other Linux distributions
osc co openSUSE:Factory:zSystems/postgresql14
cd openSUSE\:Factory\:zSystems/postgresql14/
osc build --vm-type=kvm --vm-memory=4G

> In the current logs I don't see the ld issue anymore. Apparently you already gave it more memory and the behavior changed due to that?
That was another issue between. The issue came back this weekend.
I tested it already with 8GB. I will test it also with 12GB in my mainframe VM
over night now. But I do not expect any change there.

  parent reply	other threads:[~2021-12-05 22:07 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22 19:08 [Bug c/103364] New: " sarah.kriesch at opensuse dot org
2021-11-22 19:30 ` [Bug c/103364] " sarah.kriesch at opensuse dot org
2021-11-23  6:34 ` [Bug middle-end/103364] " pinskia at gcc dot gnu.org
2021-11-23  6:45 ` pinskia at gcc dot gnu.org
2021-11-23  6:46 ` pinskia at gcc dot gnu.org
2021-11-23  6:47 ` pinskia at gcc dot gnu.org
2021-11-23  8:10 ` sarah.kriesch at opensuse dot org
2021-11-23  8:13 ` sarah.kriesch at opensuse dot org
2021-11-23 13:04 ` hjl.tools at gmail dot com
2021-11-23 15:26 ` sarah.kriesch at opensuse dot org
2021-11-23 15:28 ` sarah.kriesch at opensuse dot org
2021-12-02 11:03 ` krebbel at gcc dot gnu.org
2021-12-02 14:17 ` sarah.kriesch at opensuse dot org
2021-12-02 14:18 ` sarah.kriesch at opensuse dot org
2021-12-02 14:22 ` sarah.kriesch at opensuse dot org
2021-12-02 15:57 ` krebbel at gcc dot gnu.org
2021-12-02 17:04 ` sarah.kriesch at opensuse dot org
2021-12-03 14:50 ` krebbel at gcc dot gnu.org
2021-12-05 22:07 ` sarah.kriesch at opensuse dot org [this message]
2021-12-06  8:34 ` sarah.kriesch at opensuse dot org
2021-12-06  9:54 ` krebbel at gcc dot gnu.org
2021-12-06 12:17 ` sarah.kriesch at opensuse dot org
2021-12-06 19:59 ` krebbel at gcc dot gnu.org
2021-12-07 12:46 ` sarah.kriesch at opensuse dot org
2021-12-07 20:35 ` sarah.kriesch at opensuse dot org
2021-12-11 18:26 ` sarah.kriesch at opensuse dot org
2022-01-17  8:48 ` krebbel at gcc dot gnu.org

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-103364-4-jOPmeeJQP0@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).