Skip to content

plt.h: fix build with gcc 10#2

Open
ffontaine wants to merge 1 commit intogxk:masterfrom
ffontaine:master
Open

plt.h: fix build with gcc 10#2
ffontaine wants to merge 1 commit intogxk:masterfrom
ffontaine:master

Conversation

@ffontaine
Copy link

Drop EFUSE_PARAMETER_TYPE_ENM to avoid the following build failure with
gcc 10 (which defaults to -fno-common):

/home/naourr/work/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: misc_cmds.o:(.bss+0x0): multiple definition of `EFUSE_PARAMETER_TYPE_ENM'; nvs.o:(.bss+0x0): first defined here

Fixes:

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

Drop EFUSE_PARAMETER_TYPE_ENM to avoid the following build failure with
gcc 10 (which defaults to -fno-common):

/home/naourr/work/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: misc_cmds.o:(.bss+0x0): multiple definition of `EFUSE_PARAMETER_TYPE_ENM'; nvs.o:(.bss+0x0): first defined here

Fixes:
 - http://autobuild.buildroot.org/results/e96c70910544085dc5299fa59f80ab9c5922fde2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
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.

1 participant

Comments