Failing build when using binutils 2.34-1 on Cygwin 32/64-bit

Joachim Metz
Wed Mar 4 14:44:00 GMT 2020

I maintain numerous projects, as part of that I've set up CI tests that use
current Cygwin 32-bit and 64-bit. Recently I've noticed that builds were
failing with errors like:

fwsi_test_error.o: in function `fwsi_test_error_sprint':
/home/appveyor/libfwsi/tests/fwsi_test_error.c:72: undefined reference to

/home/appveyor/libfwsi/tests/fwsi_test_error.c:72: undefined reference to
relocation truncated to fit: R_X86_64_PC32 against undefined symbol

Since I did not make significant changes to the project sources I started
analyzing the build environment. I was able to reproduce the issues
with binutils 2.34-1 on Cygwin 64-bit on a separate Windows 10

When I reverted to binutils 2.31-1 the build issues do NOT surface. I
suspect a change or issue with binutils 2.34-1 is causing the build issues.
Happy to provide additional details / help troubleshooting where possible.

Kind regards,

P.S. I tried searching for duplicate issues on unfortunately
it returns a lot of results and starts with the oldest results first. Small
request for the future, consider adding an option to return results in
reverse order.

Tracking this for the libyal projects in

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list