X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=K+f2BofVHhWAsCkJv+1CsFJJO0Y8l x8QQGYGgDNi271ssUxck/fT/DF+s/psXFMcGNLNkFAQLi/HGWxEvou5+Hu5/NaVY UQvRxqApVwYV05L4MNa9lBCSY07Ej6nKrwC64SLMKE8RR1RbdhzCNh6J9kTq7qUK qi9TmhvqxNQ858= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=MIvB8bsc2omCUkrtF6sZZEwkhZA=; b=Id5 d4ypnjut8P79rqV4O9kOu0BpcwxQUdVm4M2seGzwEe67LvjZPaWrNgKQoXzIofK5 BAuSnRC3lA3j5UP2S679Ekk02MC3yCncUKDXV3ltQCnQbmbpRyQ0JMhvWCB3ez4T +7NgFDFtGdaXVOlW0KyIcrC3gDe1pn8DUx5zZ68Y= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=to=c2, with=c2, 2341, 2.34-1?= X-HELO: mail-io1-f46.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=83jCiNm8rlI7RZSvGedVeesgbXVLlN/fKOHQGZHYoSg=; b=fhLmxr9DKvkDo0VTHVBQlzxTeIjWQ8T69bJ0MCAEETjSd6ofpVpa09iCt1YvbhKg0C WpFE2rjLs1TqZjFb4gRWlijgMbSb9XF/m0KVsiVFsR7lcG0mDwNiLjJNvatkQdtmKkAN cf3QBmokJl71bva3azWHy7MCw0IDXbkXWP09twEDoFQhNOPz28C1WFmASi22GjiYyfVn FZ9jXZyLrN8xFyB7ozocu7dq+iQ+9rYjOruMefqH430QaGJwUVNEfoOjj0SBelQLgrYX 9j5/hWCKZsO1RT0Q5RmRFCsLYvNhpuE0p77dQyJ/axMH2qLIwaKleaNohcm0n5+hDJ+y BI4w== MIME-Version: 1.0 From: Joachim Metz Date: Wed, 4 Mar 2020 09:59:33 +0100 Message-ID: Subject: Failing build when using binutils 2.34-1 on Cygwin 32/64-bit To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" 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: https://ci.appveyor.com/project/libyal/libfwsi/build/job/7b822r4j4ghfs2m5#L953 /usr/lib/gcc/i686-pc-cygwin/9.2.0/../../../../i686-pc-cygwin/bin/ld: fwsi_test_error.o: in function `fwsi_test_error_sprint': /home/appveyor/libfwsi/tests/fwsi_test_error.c:72: undefined reference to `_imp__libfwsi_error_sprint' https://ci.appveyor.com/project/libyal/libfwsi/build/job/3qnu5pk3lm4u12pe#L960 /home/appveyor/libfwsi/tests/fwsi_test_error.c:72: undefined reference to `__imp_libfwsi_error_sprint' /home/appveyor/libfwsi/tests/fwsi_test_error.c:72:(.text.startup+0x24): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `__imp_libfwsi_error_sprint' 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 installation. 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, Joachim P.S. I tried searching for duplicate issues on https://sourceware.org/cgi-bin/search.cgi?form=extended&qprev= 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 https://github.com/libyal/libyal/issues/83 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple