Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709406 - dev-util/perf-5.4.7 : fails to build with -fno-common or gcc-10
Summary: dev-util/perf-5.4.7 : 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: Naohiro Aota
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-12 17:36 UTC by Toralf Förster
Modified: 2021-02-17 09:36 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.23 KB, text/plain)
2020-02-12 17:36 UTC, Toralf Förster
Details
dev-util:perf-5.4.7:20200212-152405.log (dev-util:perf-5.4.7:20200212-152405.log,149.42 KB, text/plain)
2020-02-12 17:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,103.53 KB, text/plain)
2020-02-12 17:36 UTC, Toralf Förster
Details
environment (environment,125.02 KB, text/plain)
2020-02-12 17:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.96 KB, application/x-bzip)
2020-02-12 17:36 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-12 17:36:21 UTC
  x86_64-pc-linux-gnu-gcc -Wp,-MD,bench/.mem-memset-x86-64-asm.o.d -Wp,-MT,bench/mem-memset-x86-64-asm.o -O2 -pipe -march=native -fno-common -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -DHAVE_ARCH_X86_64_SUPPORT -Iarch/x86/include/generated -DHAVE_SYSCALL_TABLE_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -I/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/perf/lib/include -I/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/perf/util/include -I/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/perf/arch/x86/include -I/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/include/ -I/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/arch/x86/include/uapi -I/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/include/uapi -I/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/arch/x86/include/ -I/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/arch/x86/ -I/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/perf/util -I/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/perf -I/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_PTHREAD_BARRIER -DHAVE_EVENTFD -DHAVE_GET_CURRENT_DIR_NAME -DHAVE_GETTID -DHAVE_DWARF_GETLOCATIONS_SUPPORT -DHAVE_GLIBC_SUPPORT -DHAVE_AIO_SUPPORT -DHAVE_SCHED_GETCPU_SUPPORT -DHAVE_SETNS_SUPPORT -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_GELF_GETNOTE_SUPPORT -DHAVE_ELF_GETSHDRSTRNDX_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_JITDUMP -DHAVE_DWARF_UNWIND_SUPPORT -DHAVE_LIBCRYPTO_SUPPORT -DNO_LIBPERL -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_CPLUS_DEMANGLE_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LIBCAP_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DDISASM_FOUR_ARGS_SIGNATURE -DHAVE_AUXTRACE_SUPPORT -D"BUILD_STR(s)=#s" -c -o bench/mem-memset-x86-64-asm.o bench/mem-memset-x86-64-asm.S
   x86_64-pc-linux-gnu-ld -r -o bench/perf-in.o  bench/sched-messaging.o bench/sched-pipe.o bench/mem-functions.o bench/futex-hash.o bench/futex-wake.o bench/futex-wake-parallel.o bench/futex-requeue.o bench/futex-lock-pi.o bench/epoll-wait.o bench/epoll-ctl.o bench/mem-memcpy-x86-64-lib.o bench/mem-memcpy-x86-64-asm.o bench/mem-memset-x86-64-asm.o
x86_64-pc-linux-gnu-ld: bench/futex-lock-pi.o:/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/perf/bench/futex-lock-pi.c:40: multiple definition of `end'; bench/futex-hash.o:/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/perf/bench/futex-hash.c:40: first defined here
x86_64-pc-linux-gnu-ld: bench/futex-lock-pi.o:/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/perf/bench/futex-lock-pi.c:40: multiple definition of `start'; bench/futex-hash.o:/var/tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/perf/bench/futex-hash.c:40: first defined here

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

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

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

  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.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 12 Feb 2020 14:37:23 +0000

emerge -qpvO dev-util/perf
[ebuild  N    ] dev-util/perf-5.4.7  USE="crypt demangle doc zlib -audit -clang -debug -gtk -java -lzma -numa -perl -python -slang -systemtap -unwind" PYTHON_TARGETS="python2_7 python3_6 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2020-02-12 17:36:24 UTC
Created attachment 613530 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-12 17:36:27 UTC
Created attachment 613532 [details]
dev-util:perf-5.4.7:20200212-152405.log
Comment 3 Toralf Förster gentoo-dev 2020-02-12 17:36:30 UTC
Created attachment 613534 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-12 17:36:33 UTC
Created attachment 613536 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-12 17:36:36 UTC
Created attachment 613538 [details]
etc.portage.tbz2
Comment 6 Larry the Git Cow gentoo-dev 2021-02-17 09:36:58 UTC
The bug has been closed via the following commit(s):

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

commit e48c05cc2494640eafafed683eee52dbcda683d0
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-17 09:36:13 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-17 09:36:13 +0000

    dev-util/perf: Remove old
    
    * Does not build with gcc-10
    
    Closes: https://bugs.gentoo.org/709406
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-util/perf/Manifest           |   3 -
 dev-util/perf/perf-5.4.20.ebuild | 246 ---------------------------------------
 dev-util/perf/perf-5.7-r1.ebuild | 237 -------------------------------------
 3 files changed, 486 deletions(-)