delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/04/05:43:08

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=gE/1
zz8iOZNMz0RA6hTkPMM6Le0KLeYY5JJf+AXhtrbFZMneCArR92R34UYQtJLBlAsG
8B041bgPL/PWWSIKdAiBWzQgTRfUBDxi0gL59hHse8nB3VYLxGEZNm2JLzwtYH8t
Ad9yvwGYpMIwQbUvfXbWIEH17GsDXCe5/LtrdJk=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=z2RUrg6krs
e1X6dmdjx3yT57bsQ=; b=C8eEoyW6Gbs/IswJP5+m00zv1FmJpkGSIxlQRt3gnV
lf4v5P935Ii74MIZdfA2jyut6kW2taVQddRJ6xJbuEHFclK6R9LG8fLZ79+pDW7h
878tGFK8vDESRxawjnpq/TN7iJknh99SXxaK3m2Pp0ZUjT0HrATnaVSK/YwupmEk
0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*r:6830, H*i:sk:CAPq-Lw, metz, H*MI:sk:CAPq-Lw
X-HELO: mail-pj1-f52.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to; bh=gasApPDVLMyPUHdqLWztYrU2PxxBCYDDaHkUQeKF+iQ=; b=r8XFdYkOYakKYpbezqw+jWvNQl/QSUI2H1gTBV2yjQslBCirSjfms6zKzeYkNiy+oU hZQpI2Fqck9V0LdOLN5pXzsS2bNPbiB1twxS4FK6GhFqppYsMN+J0rDQWrxQq7nYotCv /RnkSv45L0F6Xz+RRLzf2aiLGm5AgHhxNHXYNiCVxlI8egbTJDK4+//48DBgH1hTYWGO blz3PmSrbbT33CYsW5IWVBowMlDynO5pglrxZEy8JJJOMIyIzXzSPucgxVMpa5Wxf5zg 8hcUjA18MnuXvWS9MYjSTDCtGsKmTzq3cNOUH9Zqi2q8xI9fOEJT3W4bshyDvoYxayAD 8vtw==
Subject: Re: Failing build when using binutils 2.34-1 on Cygwin 32/64-bit
To: cygwin AT cygwin DOT com
References: <CAPq-Lw3nzN7UgCT7u_3m7n5WnzhFLfBVgwRjeYxao-Cx4_bgBA AT mail DOT gmail DOT com>
From: JonY <10walls AT gmail DOT com>
Message-ID: <c58377bf-3c8e-07eb-9e67-d102580d28a0@gmail.com>
Date: Wed, 4 Mar 2020 10:41:56 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <CAPq-Lw3nzN7UgCT7u_3m7n5WnzhFLfBVgwRjeYxao-Cx4_bgBA@mail.gmail.com>
X-IsSubscribed: yes

--JtZu4IywJrf4egn9hoDJYFgaeWrn0PLQd
Content-Type: multipart/mixed; boundary="mAaLQp5v48uKMbuzk0r8HRrQUlNZuhhzk";
 protected-headers="v1"
From: JonY <10walls AT gmail DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <c58377bf-3c8e-07eb-9e67-d102580d28a0 AT gmail DOT com>
Subject: Re: Failing build when using binutils 2.34-1 on Cygwin 32/64-bit
References: <CAPq-Lw3nzN7UgCT7u_3m7n5WnzhFLfBVgwRjeYxao-Cx4_bgBA AT mail DOT gmail DOT com>
In-Reply-To: <CAPq-Lw3nzN7UgCT7u_3m7n5WnzhFLfBVgwRjeYxao-Cx4_bgBA AT mail DOT gmail DOT com>


--mAaLQp5v48uKMbuzk0r8HRrQUlNZuhhzk
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 3/4/20 8:59 AM, Joachim Metz wrote:
> I maintain numerous projects, as part of that I've set up CI tests that u=
se
> current Cygwin 32-bit and 64-bit. Recently I've noticed that builds were
> failing with errors like:
>=20
> https://ci.appveyor.com/project/libyal/libfwsi/build/job/7b822r4j4ghfs2m5=
#L953
>=20
> /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'
>=20
> https://ci.appveyor.com/project/libyal/libfwsi/build/job/3qnu5pk3lm4u12pe=
#L960
>=20
> /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'
>=20
> 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.
>=20
> 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 issue=
s.
> Happy to provide additional details / help troubleshooting where possible.
>=20
> Kind regards,
> Joachim
>=20

Can you compare the objects where that symbol is supposed to be defined
and the objects where it is supposed to be referenced between the 2
binutils versions?

Can you make a minimalist test case?

Might be a good idea to file a ticket with binutils too.



--mAaLQp5v48uKMbuzk0r8HRrQUlNZuhhzk--

--JtZu4IywJrf4egn9hoDJYFgaeWrn0PLQd
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5QrdnbBX9Ppk4bbPcTtf4pwUXUUFAl5fhfQACgkQcTtf4pwU
XUU5EA//QkKi6mDfmS3QpuiNmREYbarD0Enjh0ZWyxDrS6pXx+aJZ2BhhGj7rctS
ek0nOHqdVOG0b07vL1PeG2TN31wqp1xpTcWqPOZmDY/z04khcNJ3+F79Ncv/whKY
ZTNcEv/e6pkPM+ytC4jd+M5ivTAJcBHqkTTA9be1fy/vu3c79b8qEhbdRxiVQdSC
6TJ9oNLf13plj/iflV/3+OVTsT593FDc0QLGmxdL6itAHZhGHDPwALGOqtbyGBCa
zMfyH4Bi/vEqIheo8WS2TUnN5qu9CNrzO+yKfQQarsI6LAMmjiauMT8+KRJk6RR9
UYvoe3SblO3+IeS/7hBTvXJEIiwFKNk1oIK2q/NbFMGr0t3R7BPf7I4kL0ChfyQY
5En/i3mHvui0zk4YsMd0a7SQy2Y/H2TKUCP2AC03Z5Z3OeAxwhpZfkYYVN66/i7x
53bbN3x3svvH9OSkgHCGPpOInxO2GAaGT5j72G7kXyZN25bLvC09xMEfE+b9ldVh
74L+XX0c3OSeyybnBzy2JMDO+pVb8QIcWPn7aM1569F2oG6LsohgnWrBdhpXgWuz
1cpu48N6/oi+locA+Iw/PECGuvNLe4XnFYTlvouj1IK6Ep2IR0w315IEkYsD8A+A
IqwpO9yD5/hOpV6qQj2C5fVq9Jhu7BEZoxlzsJxJUbiZlzV/aSg=
=ybTX
-----END PGP SIGNATURE-----

--JtZu4IywJrf4egn9hoDJYFgaeWrn0PLQd--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019