[prev in list] [next in list] [prev in thread] [next in thread]
List: pcc-list
Subject: Re: [Pcc] pcc fails to compile with gcc 10
From: Anders Magnusson <ragge () ludd ! ltu ! se>
Date: 2020-02-02 9:53:08
Message-ID: b1c7039f-6c65-5267-ca99-9c55d9d59ba3 () ludd ! ltu ! se
[Download RAW message or body]
Thanks, fixed the lineno problem in -current.
-- R
Den 2020-02-01 kl. 22:50, skrev Susi Lehtola:
> Hi,
>
>
> pcc fails to compile on gcc 10, since GCC has changed defaults to
> -fno-common: https://gcc.gnu.org/gcc-10/porting_to.html#common
>
> The earlier package in Fedora, 20180504 failed with
>
> gcc builtins.o cgram.o code.o common.o compat.o dwarf.o external.o
> gcc_compat.o init.o inline.o local.o local2.o main.o strtodg.o match.o
> optim.o optim2.o order.o pftn.o reader.o softfloat.o regs.o scan.o
> stabs.o symtabs.o table.o trees.o unicode.o -o ccom
> /usr/bin/ld:
> cgram.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> code.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> dwarf.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> gcc_compat.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> init.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> inline.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> local.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> main.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> optim.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> pftn.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld: scan.o:(.bss+0x18): multiple definition of `lineno';
> common.o:(.bss+0x320): first defined here
> /usr/bin/ld:
> scan.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> stabs.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> symtabs.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> trees.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> /usr/bin/ld:
> unicode.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> multiple definition of `flt_zero';
> builtins.o:/builddir/build/BUILD/pcc-20180504/cc/ccom/./pass1.h:460:
> first defined here
> collect2: error: ld returned 1 exit status
>
> whereas 20200201 fails with
>
> gcc builtins.o cgram.o code.o common.o compat.o dwarf.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 softfloat.o regs.o scan.o stabs.o
> symtabs.o table.o trees.o unicode.o -o ccom
> /usr/bin/ld: scan.o:(.bss+0x18): multiple definition of `lineno';
> common.o:(.bss+0x320): first defined here
>
>
_______________________________________________
Pcc mailing list
Pcc@lists.ludd.ltu.se
https://lists.ludd.ltu.se/cgi-bin/mailman/listinfo/pcc
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic