phoronix-test-suite / test-profiles

A read-only Git copy of the OpenBenchmarking.org test profiles.
Other
72 stars 83 forks source link

pts/iozone-1.9.5 compilation fails with GCC 10 #139

Closed antoinebj closed 4 years ago

antoinebj commented 4 years ago

Error due to nocommon flag active by default in GCC 10.

/usr/bin/ld: libbif.o:(.bss+0x8): multiple definition of `junk'; iozone_linux-AMD64.o:(.bss+0x340e0): first defined here

antoinebj commented 4 years ago

When looking for a workaround, I did not find an environment variable that could pass the -fcommon switch to GCC, so I had to change install.sh. make linux-AMD64 Becomes: make CFLAGS=-fcommon linux-AMD64

michaellarabel commented 4 years ago

Thanks, fixed in pts/iozone-1.9.5.