Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 779721

Summary: gnustep-base/libobjc2-2.1 - clang-11: error: unknown argument: -fobjc-gc
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Gnustep project <gnustep>
Status: RESOLVED FIXED    
Severity: normal CC: voyageur
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
CMakeCache.txt
emerge-history.txt
environment
etc.portage.tar.bz2
gnustep-base:libobjc2-2.1:20210401-133338.log
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-04-01 15:11:27 UTC
FAILED: CMakeFiles/objc.dir/block_trampolines.S.o 
/usr/lib/llvm/11/bin/clang -DCXA_ALLOCATE_EXCEPTION_SPECIFIER=noexcept -DENABLE_GC -DGC_DEBUG -DGNUSTEP -DNO_LEGACY -DOLDABI_COMPAT=1 -DTYPE_DEPENDENT_DISPATCH -D__OBJC_RUNTIME_INTERNAL__=1 -Dobjc_EXPORTS -I/var/tmp/portage/gnustep-base/libobjc2-2.1/work/libobjc2-2.1/GC_INCLUDE_DIRS  -O2 -pipe -march=native -fno-diagnostics-color -fPIC  -fobjc-gc -Wno-deprecated-objc-isa-usage -Wno-objc-root-class -fobjc-runtime=gnustep-2.0 -Xclang -x -Xclang assembler-with-cpp -MD -MT CMakeFiles/objc.dir/block_trampolines.S.o -MF CMakeFiles/objc.dir/block_trampolines.S.o.d -o CMakeFiles/objc.dir/block_trampolines.S.o -c /var/tmp/portage/gnustep-base/libobjc2-2.1/work/libobjc2-2.1/block_trampolines.S
clang-11: error: unknown argument: '-fobjc-gc'
ninja: build stopped: subcommand failed.
 * ERROR: gnustep-base/libobjc2-2.1::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 failed

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20210331-001544

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm


  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr  1 13:05:52 UTC 2021

emerge -qpvO gnustep-base/libobjc2
[ebuild  N    ] gnustep-base/libobjc2-2.1  USE="boehm-gc -test"
Comment 1 Toralf Förster gentoo-dev 2021-04-01 15:11:29 UTC
Created attachment 696783 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-01 15:11:30 UTC
Created attachment 696786 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-01 15:11:31 UTC
Created attachment 696789 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-01 15:11:33 UTC
Created attachment 696792 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-01 15:11:34 UTC
Created attachment 696795 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-01 15:11:35 UTC
Created attachment 696798 [details]
gnustep-base:libobjc2-2.1:20210401-133338.log
Comment 7 Toralf Förster gentoo-dev 2021-04-01 15:11:36 UTC
Created attachment 696801 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2021-04-01 15:11:37 UTC
Created attachment 696804 [details]
temp.tar.bz2
Comment 9 Bernard Cafarelli gentoo-dev 2024-03-12 21:29:17 UTC
Now recognised with current versions of clang