Skip to content

Conversation

@ffontaine
Copy link

GCC10 defaults to -fno-common, which breaks compilation when there are
multiple definitions of implicit "extern" variables. Remove the extra
definitions.

Fix #42

Signed-off-by: Tony Ambardar [email protected]
[Retrieved from:
https://github.com/openwrt/packages/blob/master/net/netperf/patches/010-gcc10_multiple_definition_fix.patch]
Signed-off-by: Fabrice Fontaine [email protected]

GCC10 defaults to -fno-common, which breaks compilation when there are
multiple definitions of implicit "extern" variables. Remove the extra
definitions.

Fix #42

Signed-off-by: Tony Ambardar <[email protected]>
[Retrieved from:
https://github.com/openwrt/packages/blob/master/net/netperf/patches/010-gcc10_multiple_definition_fix.patch]
Signed-off-by: Fabrice Fontaine <[email protected]>
@ricera
Copy link

ricera commented Sep 10, 2020

This would also unbreak the compilation on FreeBSD 13.0-CURRENT, too.

@ffontaine
Copy link
Author

I'm closing this PR as it's a duplicate of #46

@ffontaine ffontaine closed this Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to compile on Fedora 32

2 participants