too long lines were shrinked: need-modorder=1 printf '%s\n' octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o octdeviceapi/oct6100api/oct6100_api/oct6100_channel.o octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.o octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.o octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.o clang -Wp,-MMD,/var/tmp/portage/net-misc/dahdi-3.1.0-r4/work/dahdi-linux-3.1.0/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/.oct6100_adpcm_chan.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi clang -Wp,-MMD,/var/tmp/portage/net-misc/dahdi-3.1.0-r4/work/dahdi-linux-3.1.0/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/.oct6100_channel.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I. clang-15: error: unknown argument: '-fconserve-stack' clang-15: error: unsupported option '-mrecord-mcount' for target 'x86_64-unknown-linux-gnu' clang-15: error: unknown argument: '-fconserve-stack' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20220915-203738 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.0 Python 3.10.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.63.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php8.1 * GNU Make 4.3.90 HEAD of ::gentoo commit 242cd1a84f2a8e702a79f513d0ae26ce7648d849 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Sep 18 09:46:48 2022 +0000 2022-09-18 09:46:48 UTC emerge -qpvO net-misc/dahdi [ebuild N ] net-misc/dahdi-3.1.0-r4 USE="-dist-kernel -flash -oslec"
Created attachment 811192 [details] emerge-info.txt
Created attachment 811195 [details] emerge-history.txt
Created attachment 811198 [details] environment
Created attachment 811201 [details] etc.portage.tar.bz2
Created attachment 811204 [details] net-misc:dahdi-3.1.0-r4:20220918-112218.log
Created attachment 811207 [details] temp.tar.bz2
I think this is invalid. Other errors crops up when compiling with CC=clang, but the only way I can reproduce this specific issue is by doing "make modules_prepare" using CC=gcc and then CC=clang for the ebuild. I've fixed the memcpy that should be a __dev_addr_set() call ... which is what clang chokes on otherwise.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=069bd8848f9792e74c67268e9302e84d2acceabf commit 069bd8848f9792e74c67268e9302e84d2acceabf Author: Jaco Kroon <jaco@uls.co.za> AuthorDate: 2023-05-11 14:18:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-12 03:53:21 +0000 net-misc/dahdi: add 3.2.0 Closes: https://bugs.gentoo.org/896396 Closes: https://bugs.gentoo.org/855554 Closes: https://bugs.gentoo.org/871363 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Signed-off-by: Sam James <sam@gentoo.org> net-misc/dahdi/Manifest | 3 + net-misc/dahdi/dahdi-3.2.0.ebuild | 120 ++++++++++++++++++++++++++++++++++++++ net-misc/dahdi/metadata.xml | 3 + 3 files changed, 126 insertions(+)