From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XVl2D-0003E1-DW for mharc-grub-devel@gnu.org; Sun, 21 Sep 2014 13:34:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVl2A-00038s-0a for grub-devel@gnu.org; Sun, 21 Sep 2014 13:34:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVl28-0007hj-RN for grub-devel@gnu.org; Sun, 21 Sep 2014 13:34:49 -0400 Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:35902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVl28-0007gd-IY for grub-devel@gnu.org; Sun, 21 Sep 2014 13:34:48 -0400 Received: by mail-wg0-f45.google.com with SMTP id x13so1120115wgg.16 for ; Sun, 21 Sep 2014 10:34:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=ktdvyk9dtqneEBtDiXH42ghbQPyceTlJGgk/y8oUrfc=; b=d+wBMZo15QHrBnvJ+9gzYHcrZ0ZjIl8QAgx8TG0uWJZf7qFkprzOtF360UmMmqqMt8 /n7ngBP3ZwiM8FM/6aTTlcmUQN8Tnd7/d7YfEl7vezrwF2AoqJdk9ywN9HHF/TvXYqwa oohUTsREYL9VodoP1nHAuAVoQBHXdOWh3hq02j+UITioJmuTWUo3RupH2YrBXbgB5fT5 xianAD1Z+bh/NXyRsn6qId0n+6XP4zVntnQucAVSIURZoSeTFAaDNs+1wIm9sufyIolk TR6O8x3ZCbhD2uoNL1YKsgT6xcr8GvHyCifUdXrwBpRQJJEL7F5WDw5cg9SYZ5/pdlIW QCyQ== X-Received: by 10.180.86.225 with SMTP id s1mr2040733wiz.21.1411320882786; Sun, 21 Sep 2014 10:34:42 -0700 (PDT) Received: from ?IPv6:2a02:1205:501d:9350:863a:4bff:fe50:abc4? ([2a02:1205:501d:9350:863a:4bff:fe50:abc4]) by mx.google.com with ESMTPSA id bg10sm9511963wjc.47.2014.09.21.10.34.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Sep 2014 10:34:42 -0700 (PDT) Message-ID: <541F04CC.3040509@gmail.com> Date: Sun, 21 Sep 2014 19:03:08 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [RFC PATCH] configure check for ld's --no-relax flag References: <1406895356-28090-1-git-send-email-stanislav.kholmanskikh@oracle.com> <20140801193559.61fe4363@opensuse.site> <53DBB4D4.3090508@gmail.com> <53DF2C02.4030607@oracle.com> <20140804185346.22e2f581@opensuse.site> In-Reply-To: <20140804185346.22e2f581@opensuse.site> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WGDrTTJEAdc2afrCDfx2Ln8nEFgIlcFBm" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22d X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 17:34:51 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WGDrTTJEAdc2afrCDfx2Ln8nEFgIlcFBm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04.08.2014 16:53, Andrey Borzenkov wrote: > =D0=92 Mon, 04 Aug 2014 10:45:22 +0400 > Stanislav Kholmanskikh =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: >=20 >> Hi! >> >> On 08/01/2014 07:40 PM, Vladimir '=CF=86-coder/phcoder' Serbinenko wro= te: >>> On 01.08.2014 17:35, Andrey Borzenkov wrote: >>>> =D0=92 Fri, 1 Aug 2014 16:15:56 +0400 >>>> Stanislav Kholmanskikh =D0=BF=D0= =B8=D1=88=D0=B5=D1=82: >>>> >>>>> Early versions of binutils doesn't support --no-relax flag, so >>>>> commit 063f2a04d158ec1b275a925dfbae74b124708cde prevents building >>>>> with such versions. >>>>> >>>>> Signed-off-by: Stanislav Kholmanskikh >>>>> --- >>>>> conf/Makefile.common | 8 ++++++++ >>>>> configure.ac | 10 ++++++++++ >>>>> 2 files changed, 18 insertions(+), 0 deletions(-) >>>>> >>>>> diff --git a/conf/Makefile.common b/conf/Makefile.common >>>>> index e4c301f..5bda66f 100644 >>>>> --- a/conf/Makefile.common >>>>> +++ b/conf/Makefile.common >>>>> @@ -8,11 +8,19 @@ unexport LC_ALL >>>>> # Platform specific options >>>>> if COND_sparc64_ieee1275 >>>>> CFLAGS_PLATFORM +=3D -mno-app-regs >>>>> +if COND_LD_SUPPORTS_NO_RELAX >>>>> LDFLAGS_PLATFORM =3D -Wl,-melf64_sparc -Wl,--no-relax >>>>> +else >>>>> + LDFLAGS_PLATFORM =3D -Wl,-melf64_sparc -mno-relax >>>>> +endif >>>> >>>> TBO I think commit should simply be reverted. "Uniformity" is rather= >>>> poor excuse for breaking existing systems. >>>> >>> This commit is needed for clang to compile for sparc64. Given that >>> sparc64 clang still doesn't really work I'm ok with reverting, at lea= st >>> for now. >> >> But, it this case, maybe it would be better to consider=20 >> reviewing/applying this patch? Just to not return to this issue after = >> some time? >> >> Andrey, Vladimir, what do you think? >> >=20 > Yes, commit message was pretty confusing. This leaves the question, > whether combination of clang and binutils that do not support > -Wl,--no-relax exists though :) Otherwise I agree, we should use this > patch. >=20 I think we could try to push for clang to have -mno-relax. They're usually pretty responsive and we'll probably need few fixes for few other clang problems anyway. For now I just reverted it. We'll see how clang sparc64 goes. > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --WGDrTTJEAdc2afrCDfx2Ln8nEFgIlcFBm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iF4EAREKAAYFAlQfBMwACgkQmBXlbbo5nOv3lQD/aKFFnAtsrLqqTPdYc8QT8Rka xDFxOapt5TuUmZoytCUA/jEytjtuU88poalTr0XRln2/uLP1waWNHTxxkg3kNVBx =FMnh -----END PGP SIGNATURE----- --WGDrTTJEAdc2afrCDfx2Ln8nEFgIlcFBm--