Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707780 - gnustep-base/libobjc2-2.0 : fails to build with -fno-common or gcc-10
Summary: gnustep-base/libobjc2-2.0 : fails to build with -fno-common or gcc-10
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: -fno-common
  Show dependency tree
 
Reported: 2020-02-01 15:41 UTC by Toralf Förster
Modified: 2021-01-05 21:59 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.31 KB, text/plain)
2020-02-01 15:41 UTC, Toralf Förster
Details
CMakeCache.txt (CMakeCache.txt,10.96 KB, text/plain)
2020-02-01 15:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,260.72 KB, text/plain)
2020-02-01 15:41 UTC, Toralf Förster
Details
environment (environment,89.67 KB, text/plain)
2020-02-01 15:41 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.53 KB, application/x-bzip)
2020-02-01 15:41 UTC, Toralf Förster
Details
gnustep-base:libobjc2-2.0:20200201-153935.log (gnustep-base:libobjc2-2.0:20200201-153935.log,24.37 KB, text/plain)
2020-02-01 15:41 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.43 KB, application/x-bzip)
2020-02-01 15:41 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.55 KB, application/x-bzip)
2020-02-01 15:41 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 2020-02-01 15:41:33 UTC
[29/31] /usr/lib/llvm/9/bin/clang -DCXA_ALLOCATE_EXCEPTION_SPECIFIER=noexcept -DGC_DEBUG -DGNUSTEP -DNO_LEGACY -DOLDABI_COMPAT=1 -DTYPE_DEPENDENT_DISPATCH -D__OBJC_RUNTIME_INTERNAL__=1 -Dobjc_EXPORTS   -DNDEBUG -O2 -pipe -march=native -fno-common -Xclang -fexceptions -Xclang -fobjc-exceptions -fPIC    -Wno-deprecated-objc-isa-usage -Wno-objc-root-class -fobjc-runtime=gnustep-2.0 -Xclang -x -Xclang objective-c -MD -MT CMakeFiles/objc.dir/gc_none.c.o -MF CMakeFiles/objc.dir/gc_none.c.o.d -o CMakeFiles/objc.dir/gc_none.c.o -c /var/tmp/portage/gnustep-base/libobjc2-2.0/work/libobjc2-2.0/gc_none.c
[30/31] : && /usr/lib/llvm/9/bin/clang -fPIC -O2 -pipe -march=native -fno-common -Xclang -fexceptions -Xclang -fobjc-exceptions  -Wl,-O1 -Wl,--as-needed   -lpthread -shared -Wl,-soname,libobjc.so.4.6 -o libobjc.so.4.6 CMakeFiles/objc.dir/alias_table.c.o CMakeFiles/objc.dir/block_to_imp.c.o CMakeFiles/objc.dir/caps.c.o CMakeFiles/objc.dir/category_loader.c.o CMakeFiles/objc.dir/class_table.c.o CMakeFiles/objc.dir/dtable.c.o CMakeFiles/objc.dir/encoding2.c.o CMakeFiles/objc.dir/hooks.c.o CMakeFiles/objc.dir/ivar.c.o CMakeFiles/objc.dir/loader.c.o CMakeFiles/objc.dir/mutation.m.o CMakeFiles/objc.dir/protocol.c.o CMakeFiles/objc.dir/runtime.c.o CMakeFiles/objc.dir/sarray2.c.o CMakeFiles/objc.dir/selector_table.c.o CMakeFiles/objc.dir/sendmsg2.c.o CMakeFiles/objc.dir/eh_personality.c.o CMakeFiles/objc.dir/legacy.c.o CMakeFiles/objc.dir/abi_version.c.o CMakeFiles/objc.dir/statics_loader.c.o CMakeFiles/objc.dir/block_trampolines.S.o CMakeFiles/objc.dir/objc_msgSend.S.o CMakeFiles/objc.dir/NSBlocks.m.o CMakeFiles/objc.dir/Protocol2.m.o CMakeFiles/objc.dir/arc.m.o CMakeFiles/objc.dir/associate.m.o CMakeFiles/objc.dir/blocks_runtime.m.o CMakeFiles/objc.dir/properties.m.o CMakeFiles/objc.dir/gc_none.c.o   && :
FAILED: libobjc.so.4.6 
: && /usr/lib/llvm/9/bin/clang -fPIC -O2 -pipe -march=native -fno-common -Xclang -fexceptions -Xclang -fobjc-exceptions  -Wl,-O1 -Wl,--as-needed   -lpthread -shared -Wl,-soname,libobjc.so.4.6 -o libobjc.so.4.6 CMakeFiles/objc.dir/alias_table.c.o CMakeFiles/objc.dir/block_to_imp.c.o CMakeFiles/objc.dir/caps.c.o CMakeFiles/objc.dir/category_loader.c.o CMakeFiles/objc.dir/class_table.c.o CMakeFiles/objc.dir/dtable.c.o CMakeFiles/objc.dir/encoding2.c.o CMakeFiles/objc.dir/hooks.c.o CMakeFiles/objc.dir/ivar.c.o CMakeFiles/objc.dir/loader.c.o CMakeFiles/objc.dir/mutation.m.o CMakeFiles/objc.dir/protocol.c.o CMakeFiles/objc.dir/runtime.c.o CMakeFiles/objc.dir/sarray2.c.o CMakeFiles/objc.dir/selector_table.c.o CMakeFiles/objc.dir/sendmsg2.c.o CMakeFiles/objc.dir/eh_personality.c.o CMakeFiles/objc.dir/legacy.c.o CMakeFiles/objc.dir/abi_version.c.o CMakeFiles/objc.dir/statics_loader.c.o CMakeFiles/objc.dir/block_trampolines.S.o CMakeFiles/objc.dir/objc_msgSend.S.o CMakeFiles/objc.dir/NSBlocks.m.o CMakeFiles/objc.dir/Protocol2.m.o CMakeFiles/objc.dir/arc.m.o CMakeFiles/objc.dir/associate.m.o CMakeFiles/objc.dir/blocks_runtime.m.o CMakeFiles/objc.dir/properties.m.o CMakeFiles/objc.dir/gc_none.c.o   && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/objc.dir/sendmsg2.c.o:(.data+0x10): multiple definition of `__objc_msg_forward2'; CMakeFiles/objc.dir/hooks.c.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/objc.dir/sendmsg2.c.o:(.data+0x8): multiple definition of `__objc_msg_forward3'; CMakeFiles/objc.dir/hooks.c.o:(.bss+0x18): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20200126-201521

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 01 Feb 2020 14:48:30 +0000

emerge -qpvO gnustep-base/libobjc2
[ebuild  N    ] gnustep-base/libobjc2-2.0  USE="-boehm-gc -test"
Comment 1 Toralf Förster gentoo-dev 2020-02-01 15:41:36 UTC
Created attachment 610504 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-01 15:41:39 UTC
Created attachment 610506 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-01 15:41:42 UTC
Created attachment 610508 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-01 15:41:45 UTC
Created attachment 610510 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-01 15:41:48 UTC
Created attachment 610512 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-01 15:41:51 UTC
Created attachment 610514 [details]
gnustep-base:libobjc2-2.0:20200201-153935.log
Comment 7 Toralf Förster gentoo-dev 2020-02-01 15:41:54 UTC
Created attachment 610516 [details]
logs.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-02-01 15:41:58 UTC
Created attachment 610518 [details]
temp.tbz2
Comment 9 Bernard Cafarelli gentoo-dev 2020-09-03 09:16:53 UTC
New release 2.1 compiles fine with -fno-common
Comment 10 Larry the Git Cow gentoo-dev 2021-01-05 21:59:03 UTC
The bug has been referenced in the following commit(s):

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

commit 90601df9fe60cff556d0836198d244342d377071
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2021-01-05 21:34:23 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2021-01-05 21:58:41 +0000

    gnustep-base/libobjc2: Remove old
    
    Bug: https://bugs.gentoo.org/707780
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 gnustep-base/libobjc2/Manifest            |  1 -
 gnustep-base/libobjc2/libobjc2-2.0.ebuild | 31 -------------------------------
 2 files changed, 32 deletions(-)