Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943843 - sys-devel/bpf-toolchain-14.2.0_p1 - [libtool] [gcc-15] /.../prdbg.c: error: incompatible types when returning type _Bool but const char was expected
Summary: sys-devel/bpf-toolchain-14.2.0_p1 - [libtool] [gcc-15] /.../prdbg.c: error: i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-18 19:23 UTC by Toralf Förster
Modified: 2024-11-19 03:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.65 KB, text/plain)
2024-11-18 19:23 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,85.53 KB, application/x-xz)
2024-11-18 19:23 UTC, Toralf Förster
Details
environment (environment,86.83 KB, text/plain)
2024-11-18 19:23 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-18 19:23 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.01 KB, application/x-xz)
2024-11-18 19:23 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,88.33 KB, application/x-xz)
2024-11-18 19:23 UTC, Toralf Förster
Details
sys-devel:bpf-toolchain-14.2.0_p1:20241118-184202.log.xz (sys-devel:bpf-toolchain-14.2.0_p1:20241118-184202.log.xz,18.97 KB, application/x-xz)
2024-11-18 19:23 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.46 KB, application/x-xz)
2024-11-18 19:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-11-18 19:23:25 UTC
too long lines were shrinked:

make[4]: Leaving directory '/var/tmp/portage/sys-devel/bpf-toolchain-14.2.0_p1/work/binutils-build/binutils'
make[4]: Entering directory '/var/tmp/portage/sys-devel/bpf-toolchain-14.2.0_p1/work/binutils-build/binutils'
depbase=`echo prdbg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/bpf-toolchain-14.2.0_p1/work/binutils/binutils  -I. -I/var/tmp/portage/sys-devel/bpf-toolchain-14.2.0_p1/work/binutils/binutils -I../bfd -I/var/tmp/portage/sys-devel/bpf-toolchain-14.2.0_p1/work/binutils/binutils/../bfd -I/var/
mv -f $depbase.Tpo $depbase.Po
/var/tmp/portage/sys-devel/bpf-toolchain-14.2.0_p1/work/binutils/binutils/prdbg.c: In function visibility_name:
/var/tmp/portage/sys-devel/bpf-toolchain-14.2.0_p1/work/binutils/binutils/prdbg.c:2821:14: error: incompatible types when returning type _Bool but const char * was expected
 2821 |       return false;
      |              ^~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20241110-003003

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-bin-1.77.1
  [3]   rust-bin-1.81.0
  [4]   rust-bin-1.82.0
  [5]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 8566b21081f24b8ff8c5a8ecadbce83f2bdad484
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 18 17:03:30 2024 +0000

    2024-11-18 17:03:29 UTC

emerge -qpvO =sys-devel/bpf-toolchain-14.2.0_p1
[ebuild  N    ] sys-devel/bpf-toolchain-14.2.0_p1  USE="bin-symlinks strip -custom-cflags"
Comment 1 Toralf Förster gentoo-dev 2024-11-18 19:23:26 UTC
Created attachment 909519 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-18 19:23:27 UTC
Created attachment 909520 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-18 19:23:29 UTC
Created attachment 909521 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-18 19:23:29 UTC
Created attachment 909522 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-18 19:23:30 UTC
Created attachment 909523 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-18 19:23:31 UTC
The file size of ./files/logs.tar.xz is too big (1.3M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0-20241110-003003/var/tmp/tb/issues/20241118-184358-sys-devel_bpf-toolchain-14.2.0_p1/files/logs.tar.xz is valid.
Comment 7 Toralf Förster gentoo-dev 2024-11-18 19:23:32 UTC
Created attachment 909524 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-18 19:23:33 UTC
Created attachment 909525 [details]
sys-devel:bpf-toolchain-14.2.0_p1:20241118-184202.log.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-18 19:23:34 UTC
Created attachment 909526 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-11-19 03:52:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2facc542948cfb79193220e7beb9d1c9837df8a

commit d2facc542948cfb79193220e7beb9d1c9837df8a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-19 03:48:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-19 03:52:22 +0000

    sys-devel/gcc: backport C23 fix to 15.0.0_pre20241117
    
    Backport a -std=gnu23/-std=c23 fix to 15.0.0_pre20241117 which prevented
    coersion from _Bool to NULL. Note that this is still dodgy code and some
    are proposing this be banned in a future C version (maybe even C2y), but
    it shouldn't be rejected in this version at least.
    
    I've added Closes tags for all bugs which, at a glance, look related,
    but I haven't re-tested them all and one or two might need reopening.
    
    Bug: https://gcc.gnu.org/PR112556
    Closes: https://bugs.gentoo.org/943862
    Closes: https://bugs.gentoo.org/943861
    Closes: https://bugs.gentoo.org/943843
    Closes: https://bugs.gentoo.org/943811
    Closes: https://bugs.gentoo.org/943809
    Closes: https://bugs.gentoo.org/943753
    Closes: https://bugs.gentoo.org/943715
    Closes: https://bugs.gentoo.org/943704
    Closes: https://bugs.gentoo.org/942958
    Signed-off-by: Sam James <sam@gentoo.org>

 ...llow-bool-and-enum-null-pointer-constants.patch | 244 +++++++++++++++++++++
 sys-devel/gcc/gcc-15.0.0_pre20241117-r2.ebuild     |  54 +++++
 2 files changed, 298 insertions(+)