cygwin build
Jon Turney
jon.turney@dronecode.org.uk
Sun Aug 6 18:53:02 GMT 2023
On 05/08/2023 19:18, Thomas Wolff wrote:
>
>
> Am 03.08.2023 um 15:12 schrieb Jon Turney:
>> On 03/08/2023 09:21, Thomas Wolff wrote:
>>> Am 02.08.2023 um 10:09 schrieb Corinna Vinschen:
>>>> On Aug 2 08:36, Thomas Wolff wrote:
>>>>>
>>>>> Am 01.08.2023 um 23:27 schrieb Corinna Vinschen:
>>>>>> On Aug 1 23:05, Thomas Wolff wrote:
>>>>>>> I took some of the latest cygwin snapshots (by the way, there are
>>>>>>> no newer
>>>>>>> ones on the snapshots page):
>>>>>> Snapshots are no longer produced. You should download the latest
>>>>>> test versions via setup.
>>>>> So what if I need an older version?
>>>> It's all documented:
>>>>
>>>> https://cygwin.com/git.html
>>>> https://cygwin.com/faq.html#faq.programming.building-cygwin
>>> Thanks. Actually package mingw zlib was missing (when I installed it,
>>> it got mistargeted to my parallel test installation).
>>> It now worked, kind of, with some build errors after producing the dll.
>>
>> Nobody can take any useful action about those "build errors" if you
>> keep them secret.
>>
> Sure, I just mentioned it and didn't post details as it wasn't essential
> for the discussed issue. Anyway, here are the final error message I
> often encounter:
>
> make[5]: Entering directory
> '/cygdrive/c/tmp/newlib-cygwin/build/x86_64-pc-cygwin/winsup/utils'
> CXXLD dumper.exe
> /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld:
> /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(compress.o):
> in function `decompress_contents':
Ah, right.
This is a problem with the primitive time-travel technology you are using.
dumper relies on libbfd, which since binutils 2.40 relies on zstd.
bfd doesn't provide a .pc file, so the dependencies are explicitly
listed in our makefile.
You'll either needs to backport the commit [1] which adds zstd to the
link line to fix this, or also roll back binutils to the version which
was current when this built...
[1]
https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;h=1387ea9f984d5a7aa096a66b67d61dc2cc565d21;hp=588624da2b0a921c7e72d12d19c2ac3321de0326
More information about the Cygwin-developers
mailing list