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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=tZjDV+ yBkHS7Q06a5wecnaG1uBgi4oTg6tp62qBg66qqfNSIT+OkCsbeliIlc98A4zH5z5 iM7QRzxZ8bzoJ04nHrs7ywTXrDAMn8XIuFKeuM4h+wQbiXkm0xPdw0P9WEw+zO05 LD7a8akVz15iQUdzepxBDhStR/Ho0fmjwQRXE= 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; s=default; bh=w+g/ovft9TJv rqsP6uDa1tAhbWA=; b=yCld0m7T/bYBixS+hglimOf/ZUvz1+jibwbppw5WYUMm zdKpDcS2sALcYBSAigQrSbODh0k66FwHzEoLC2z+30JmW5o8YkwZnWI7RcU7fE9P Nm+xaHYezVvv/mjGIWXb6n+/wd55PydKYkKeSz1JZX7nJH7cyayMxaxUK9uaeOc= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:562, H*MI:sk:da8b5c9, H*f:sk:da8b5c9, H*UA:x64 X-HELO: mail-pf0-f193.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=KdccJ0tM7qDAP4mN716M58WZe6Q7bFXE7d/sNA/VKII=; b=VhgJjiNtfcBak3l9tUS9kvnIP8qhZRStbXm9APqFCbw6U0OzRn7AF2h1nT4vQAVuPq QRPvqWRkTZEqVbPV0o4Kc7PUccS0fJYNMHpDlYPR911JyNN0VZwUkuTrHDzqDPojJPCY vS6tviHXz4s0rp5RRX58X1KcxwJ3UMYO+RaBKq63ikPUWVISI8ffweNLi0GoWzX6KqJt y3PQVu+HGLBaXCg6yYVHItJ72Q4T5u0WdQZtKlGvtanNk8RJnThaRZUfXOOINCT55rYJ U9hrcRUJwNdpyubC3P6C/vvfvkdVvl/dfUOMjEPZC/X5b8wiTvE4KcXiEvoaz03jieyI eJSw== X-Gm-Message-State: AOPr4FUFDc1Zl+x1JgWSSA1gGz04v19qq/ceDuN4llsRfD+zp1P/5E6GuGmPi80hn16OfA== X-Received: by 10.98.23.150 with SMTP id 144mr2357162pfx.96.1461665818720; Tue, 26 Apr 2016 03:16:58 -0700 (PDT) Message-ID: <571F400F.3000306@gmail.com> Date: Tue, 26 Apr 2016 18:16:47 +0800 From: JonY <10walls AT gmail DOT com> User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:25.4) Gecko/20150524 FossaMail/25.1.5 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gcc x86 - problem on library search order References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rh4RwrvtP10JAK5gpkB1dXr2iuXSRSKcS" X-IsSubscribed: yes --rh4RwrvtP10JAK5gpkB1dXr2iuXSRSKcS Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 4/26/2016 01:46, Marco Atzeri wrote: > Visible on 32bit and not present on 64bit >=20 > $ cat uuid.c > #include >=20 > int main () > { > uuid_t out; > uuid_generate_random(out); > return 0; > } >=20 >=20 > $ gcc uuid.c -luuid > /tmp/ccLlmFMf.o:uuid.c:(.text+0x16): undefined reference to > `uuid_generate_random' > collect2: error: ld returned 1 exit status >=20 Pretty sure I removed the patch that does that, not sure where it gets in from. It isn't in the specs file either. -Wl,-v does say it is from gcc. --rh4RwrvtP10JAK5gpkB1dXr2iuXSRSKcS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJXH0AWAAoJEHE7X+KcFF1FVxoP/0zleND42+1BATxKH1saLAkz CLlIpt0SB05gVwQKV27IRWT9iwqG0Of781LQtR3SkO8Mn9UR/bqtDBi26Yjjb2qh lQmJbOCdobj+1IC++MCAXXtPzw4FbwOMEAfTnmtbnwyTVlBAfkscqLjmRbOWROp9 sZ1tigKReBot8zA3qVBdy3nr9z2x6tu1qoCW4AO0ACs4NJPFZjWqhzO/fpEl653S 0T0JInJh+87Bsin06W3asV13U0KFaX497+7jt8QhqjxJ8xny3SSZKWgPOrXS9GtJ tw7XtWlC/4HnrlnYpCNV0gbG+QfVX1Gs/e3HFqzsX56iQVFjRjxOsv4Db9R5EMLY kRuuR6be46pVD1XV+E9mi5GQx+Of3dAdeZq4ZK/gndyh95gkFj2D9uA8krhNU3mA nS58JsrR7REyZ5pPjF09TS1ysjaENbAb1J6g1mw9S1D/SMjexK1nofQBRMj7xGlr Kn8Rry2DVCHDm8tdmG6Qg7zCbv5Z0QNr+gJUyJ5q1HFhQrIxZpIynweSsH9jG0sc fVjCUlMeq4HQxxESZ6G92YrEpY8LTCNKowRQDVERr9JwnfW1Bfx+27cIcBiUPtVG 0xdbp9Vk4yECbCd+3ubVxiD+X+jMTy13tI5V4b1au32pyKOOHWx5sVwiavVx+wTm h+/6Xr1ibeP5e1uwQPUZ =E1qp -----END PGP SIGNATURE----- --rh4RwrvtP10JAK5gpkB1dXr2iuXSRSKcS--