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

Bug 707474

Summary: app-arch/pixz-1.0.6-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Rick Farina (Zero_Chaos) <zerochaos>
Status: RESOLVED FIXED    
Severity: normal CC: hydrapolic
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/vasi/pixz/commit/f385e7be8adb620ca7eb89f84abe4d1df94c1029
See Also: https://github.com/gentoo/gentoo/pull/16218
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
app-arch:pixz-1.0.6-r1:20200130-132056.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-30 19:25:31 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -pthread -Wall -Wno-unknown-pragmas -O2 -pipe -march=native -fno-common -std=gnu99 -c -o pixz-pixz.o `test -f 'pixz.c' || echo './'`pixz.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -pthread -Wall -Wno-unknown-pragmas -O2 -pipe -march=native -fno-common -std=gnu99 -c -o pixz-read.o `test -f 'read.c' || echo './'`read.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -pthread -Wall -Wno-unknown-pragmas -O2 -pipe -march=native -fno-common -std=gnu99 -c -o pixz-write.o `test -f 'write.c' || echo './'`write.c
x86_64-pc-linux-gnu-gcc -pthread -Wall -Wno-unknown-pragmas -O2 -pipe -march=native -fno-common -std=gnu99  -Wl,-O1 -Wl,--as-needed -o pixz pixz-common.o pixz-cpu.o pixz-endian.o pixz-list.o pixz-pixz.o pixz-read.o pixz-write.o -lm -larchive  -llzma   -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: pixz-list.o:(.bss+0x0): multiple definition of `gStream'; pixz-common.o:(.bss+0xa0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: pixz-list.o:(.bss+0x88): multiple definition of `gOutFile'; pixz-common.o:(.bss+0x128): 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 <==
Thu, 30 Jan 2020 12:08:44 +0000

emerge -qpvO app-arch/pixz
[ebuild  N    ] app-arch/pixz-1.0.6-r1  USE="-static"
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:25:34 UTC
Created attachment 609160 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:25:36 UTC
Created attachment 609162 [details]
app-arch:pixz-1.0.6-r1:20200130-132056.log
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:25:39 UTC
Created attachment 609164 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:25:42 UTC
Created attachment 609166 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:25:45 UTC
Created attachment 609168 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:25:48 UTC
Created attachment 609170 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:25:50 UTC
Created attachment 609172 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-20 01:49:49 UTC
The bug has been closed via the following commit(s):

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

commit 2b594db8a968b0c512a33f0e1c155f21279bb1e1
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2020-08-20 01:49:41 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2020-08-20 01:49:41 +0000

    app-arch/pixz-1.0.7: Version bump
    
    Closes: https://bugs.gentoo.org/707474
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 app-arch/pixz/Manifest          |  1 +
 app-arch/pixz/pixz-1.0.7.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2021-01-05 18:59:10 UTC
The bug has been referenced in the following commit(s):

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

commit fe7b8f570d9ec3f06d8512520afdce2146c920e4
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2021-01-05 18:51:53 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2021-01-05 18:58:55 +0000

    app-arch/pixz: Remove old
    
    Bug: https://bugs.gentoo.org/707474
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 app-arch/pixz/Manifest                             |  1 -
 .../pixz-1.0.6-avoid-unaligned-accesses.patch      | 44 ---------------------
 app-arch/pixz/pixz-1.0.6-r1.ebuild                 | 46 ----------------------
 3 files changed, 91 deletions(-)