Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779721 - gnustep-base/libobjc2-2.1 - clang-11: error: unknown argument: -fobjc-gc
Summary: gnustep-base/libobjc2-2.1 - clang-11: error: unknown argument: -fobjc-gc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-01 15:11 UTC by Toralf Förster
Modified: 2024-03-12 21:29 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.59 KB, text/plain)
2021-04-01 15:11 UTC, Toralf Förster
Details
CMakeCache.txt (CMakeCache.txt,11.02 KB, text/plain)
2021-04-01 15:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,62.61 KB, text/plain)
2021-04-01 15:11 UTC, Toralf Förster
Details
environment (environment,88.90 KB, text/plain)
2021-04-01 15:11 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.15 KB, application/x-bzip)
2021-04-01 15:11 UTC, Toralf Förster
Details
gnustep-base:libobjc2-2.1:20210401-133338.log (gnustep-base:libobjc2-2.1:20210401-133338.log,18.28 KB, text/plain)
2021-04-01 15:11 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.45 KB, application/x-bzip)
2021-04-01 15:11 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.72 KB, application/x-bzip)
2021-04-01 15:11 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 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