Closed Pixel-Minions closed 3 days 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
.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
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.