Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netperf: fix compilation with GCC10 #13058

Merged
merged 1 commit into from
Aug 9, 2020

Conversation

guidosarducci
Copy link
Contributor

Maintainer: @tohojo
Compile tested: malta/mips32-be on master branch
Run tested: malta/mips32-be on master branch, tested under QEMU using a speedtest

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

Thanks!

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

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Copy link
Contributor

@tohojo tohojo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@tohojo tohojo merged commit 416dccf into openwrt:master Aug 9, 2020
@neheb
Copy link
Contributor

neheb commented Aug 9, 2020

Huh cool. I tried fixing this locally but couldn't figure it out.

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.

3 participants