Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712364 - dev-lang/pcc-1.1.0-r1 : fails to build with -fno-common or gcc-10
Summary: dev-lang/pcc-1.1.0-r1 : 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: Patrick Lauer
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-03-13 12:19 UTC by Toralf Förster
Modified: 2021-04-18 19:05 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.75 KB, text/plain)
2020-03-13 12:19 UTC, Toralf Förster
Details
dev-lang:pcc-1.1.0-r1:20200313-121054.log (dev-lang:pcc-1.1.0-r1:20200313-121054.log,26.61 KB, text/plain)
2020-03-13 12:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,244.20 KB, text/plain)
2020-03-13 12:19 UTC, Toralf Förster
Details
environment (environment,95.57 KB, text/plain)
2020-03-13 12:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.91 KB, application/x-bzip)
2020-03-13 12:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,17.06 KB, application/x-bzip)
2020-03-13 12:19 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.87 KB, application/x-bzip)
2020-03-13 12:19 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-03-13 12:19:36 UTC
./trees.c:188:13: note: add parentheses around left hand side expression to silence this warning
  188 |    p = bcon(!FLOAT_ISZERO(r->n_dcon));
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -Wall -Wmissing-prototypes -Wshadow -Wsign-compare -DGCC_COMPAT -DPCC_DEBUG -D_ISOC99_SOURCE -Dos_linux -Dmach_amd64 -I. -I. -I../.. -I../../mip -I../../arch/amd64 -I../../os/linux -c -o unicode.o ../../mip/unicode.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed builtins.o cgram.o code.o common.o compat.o external.o gcc_compat.o init.o inline.o local.o local2.o main.o match.o optim.o optim2.o order.o pftn.o reader.o regs.o scan.o stabs.o symtabs.o table.o trees.o unicode.o -o ccom 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: scan.o:(.bss+0x18): multiple definition of lineno; common.o:(.bss+0x314): first defined here
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20200307-230716

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

  Please see the tracker bug for details.

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

clang:
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
llvm:
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.41.1 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 13 Mar 2020 11:39:53 +0000

emerge -qpvO dev-lang/pcc
[ebuild  N    ] dev-lang/pcc-1.1.0-r1
Comment 1 Toralf Förster gentoo-dev 2020-03-13 12:19:39 UTC
Created attachment 618426 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-13 12:19:41 UTC
Created attachment 618428 [details]
dev-lang:pcc-1.1.0-r1:20200313-121054.log
Comment 3 Toralf Förster gentoo-dev 2020-03-13 12:19:45 UTC
Created attachment 618430 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-13 12:19:48 UTC
Created attachment 618432 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-13 12:19:51 UTC
Created attachment 618434 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-13 12:19:53 UTC
Created attachment 618436 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-13 12:19:56 UTC
Created attachment 618438 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-02-20 19:31:56 UTC
The bug has been closed via the following commit(s):

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

commit e0e8685468fa06ca70d56e828ae678df3c517831
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-20 19:31:05 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-20 19:31:05 +0000

    dev-lang/pcc: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/712364
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-lang/pcc/files/pcc-1.1.0-multiarch.patch |  4 ++--
 dev-lang/pcc/pcc-1.1.0-r1.ebuild             | 26 +++++++++++---------------
 2 files changed, 13 insertions(+), 17 deletions(-)