Bug 25285 - FAIL: Run with libfunc1.so comm1.o with GCC 10
Summary: FAIL: Run with libfunc1.so comm1.o with GCC 10
Status: RESOLVED DUPLICATE of bug 25327
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.33
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-16 04:14 UTC by Andrew Pinski
Modified: 2020-01-08 21:00 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Pinski 2019-12-16 04:14:37 UTC
GCC 10 enables -fno-common by default and we get an extra failure due to that:
/bajas/pinskia/src/toolchain-10/marvell-tools/bin/../lib/gcc/aarch64-marvell-linux-gnu/10.0.0/../../../../aarch64-marvell-linux-gnu/bin/ld: warning: type of symbol `foo' changed from 2 to 1 in tmpdir/comm1.o
/bajas/pinskia/src/toolchain-10/marvell-tools/bin/../lib/gcc/aarch64-marvell-linux-gnu/10.0.0/../../../../aarch64-marvell-linux-gnu/bin/ld: warning: type of symbol `foo' changed from 2 to 1 in tmpdir/comm1.o
FAIL: Run with libfunc1.so comm1.o
Comment 1 Nick Clifton 2020-01-08 16:36:39 UTC
(In reply to Andrew Pinski from comment #0)

Hi Andrew,

> /bajas/pinskia/src/toolchain-10/marvell-tools/bin/../lib/gcc/aarch64-marvell-
> linux-gnu/10.0.0/../../../../aarch64-marvell-linux-gnu/bin/ld: warning: type
> of symbol `foo' changed from 2 to 1 in tmpdir/comm1.o

I think that this issue may have been fixed by my patch for PR25327.  Please could you check and let me know ?

Cheers
  Nick
Comment 2 Andrew Pinski 2020-01-08 21:00:28 UTC
(In reply to Nick Clifton from comment #1)
> 
> I think that this issue may have been fixed by my patch for PR25327.  Please
> could you check and let me know ?

Yes they are fixed.

*** This bug has been marked as a duplicate of bug 25327 ***