I would like to get the LizardFS distributed filesystem into Fedora,
but I'm running into problems compiling it with Fedora's hardening
flags enabled.

When the binaries are linked, I get the following error message for
each binary:
/usr/bin/ld: mfsmetalogger: hidden symbol `__cpu_indicator_init' in 
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/libgcc.a(cpuinfo.o) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

I believe this comes from the fileĀ src/common/galois_field_encode.cc
where it has different code paths based on the CPU capabilities, but I
have no idea why this message is coming up or what the correct way is
to fix it.

My preliminary SRPM is at https://www.lesbg.com/jdieter/lizardfs-3.10.6
-2.fc25.src.rpm
The build log is at https://www.lesbg.com/jdieter/lizardfs-build.log

I would greatly appreciate any help pointing me in the right direction.

Thanks,
Jonathan
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to