Open Pixel-Minions opened 3 years ago
@JackBoosY Hi, is there any information additionally I can provide to solve the issue?
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: /root/vcpkg/installed/x64-linux/debug/lib/pkgconfig/../../lib/libffi.a(unix64.S.o): relocation R_X86_64_PC32 against symbol `abort@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
This is very different with mine, can you please provide the config logs _/tmp/rez_builderiwSvwF/buildtrees/glib/config-x64-linux-dbg-out.log and _/tmp/rez_builderiwSvwF/buildtrees/glib/config-x64-linux-dbg-err.log?
And I think I saw this error before...
config-x64-linux-dbg-out.log package-x64-linux-dbg-out.log
@JackBoosY The config-x64-linux-dbg-err.log
is empty, nothing gets added there.
@JackBoosY I wonder if it is related to shared libraries missing when compiling the libffi, I recompiled using set(CMAKE_POSITION_INDEPENDENT_CODE ON) to force the flag fPIC in the libffi port file but no luck.
Just to say I was having the same issue, I did the following.
It has now installed. I'm now testing a build against it.
This is on RHEL 7.7 using the latest devtools7 and latest vcpkg .
So I confirm this issue is due to libffi.
Not reproduced on Ubuntu with the latest version of vcpkg
.
Host Environment
To Reproduce Steps to reproduce the behavior:
./vcpkg install glib
Failure logs
Additional context I have tried compiling older versions of glib and libffi with no result, I also have tried in multiple devices and fails all the times in Centos, but Windows 10 and Windows 7 works fine.