Summary: | dev-lang/erlang-21.3-r1: checking whether to do PGO of erts... = yes ... = yes infinite loop (USE=pgo) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dennis Schridde <dschridde+gentoobugs> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, slyfox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=685044 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.xz |
Description
Dennis Schridde
2019-05-26 10:09:06 UTC
Do the other versions in the tree have the same problem? USE=pgo is enough to trigger it. The bug is triggered by gcc-8.3.0->gcc-9.1.0 change: configure:5452: checking whether gcc-8.3.0 accepts -fprofile-use -Werror... configure:5467: gcc-8.3.0 -c -fprofile-use -Werror -march=sandybridge -mtune=sandybridge --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=8192 -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -Wall -Wextra -Wstack-protector -I/tmp/portage/dev-lang/erlang-21.3-r1/work/otp-OTP-21.3/erts/x86_64-pc-linux-gnu -D_GNU_SOURCE conftest.c >&5 configure:5467: $? = 0 configure:5476: result: yes ... configure:5443: result: yes configure:5452: checking whether gcc-9.1.0 accepts -fprofile-use -Werror... configure:5467: gcc-9.1.0 -c -fprofile-use -Werror -march=sandybridge -mtune=sandybridge --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=8192 -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -Wall -Wextra -Wstack-protector -I/tmp/portage/dev-lang/erlang-21.3-r1/work/otp-OTP-21.3/erts/x86_64-pc-linux-gnu -D_GNU_SOURCE conftest.c >&5 conftest.c: In function 'main': conftest.c:20:1: error: '/tmp/portage/dev-lang/erlang-21.3-r1/work/otp-OTP-21.3/erts/conftest.gcda' profile count data file not found [-Werror=missing-profile] 20 | } | ^ cc1: all warnings being treated as errors configure:5467: $? = 1 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a88ef569b6a663414a4129c926fa696e0e5453d2 commit a88ef569b6a663414a4129c926fa696e0e5453d2 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-05-26 15:35:45 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-05-26 15:36:01 +0000 dev-lang/erlang: fix USE=pgo loop, bug #686786 It does not completely recover PGO support but at least stops ./configure from looping indefinitely. Reported-by: Dennis Schridde Bug: https://bugs.gentoo.org/686786 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-lang/erlang/erlang-21.3-r1.ebuild | 1 + dev-lang/erlang/files/erlang-21.3-pgo-loop.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+) (In reply to Larry the Git Cow from comment #4) > The bug has been referenced in the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=a88ef569b6a663414a4129c926fa696e0e5453d2 > > commit a88ef569b6a663414a4129c926fa696e0e5453d2 > Author: Sergei Trofimovich <slyfox@gentoo.org> > AuthorDate: 2019-05-26 15:35:45 +0000 > Commit: Sergei Trofimovich <slyfox@gentoo.org> > CommitDate: 2019-05-26 15:36:01 +0000 > > dev-lang/erlang: fix USE=pgo loop, bug #686786 > > It does not completely recover PGO support but > at least stops ./configure from looping indefinitely. > > Reported-by: Dennis Schridde > Bug: https://bugs.gentoo.org/686786 > Package-Manager: Portage-2.3.66, Repoman-2.3.12 > Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> > > dev-lang/erlang/erlang-21.3-r1.ebuild | 1 + > dev-lang/erlang/files/erlang-21.3-pgo-loop.patch | 13 +++++++++++++ > 2 files changed, 14 insertions(+) Proposed this change upstream as: https://github.com/erlang/otp/pull/2254 Let's declare it done. gcc-9 porting of profiling detection should happen upstream. |