From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id ABB5A138824 for ; Thu, 23 Oct 2014 20:44:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B037E0875; Thu, 23 Oct 2014 20:43:54 +0000 (UTC) Received: from mail-ob0-f178.google.com (mail-ob0-f178.google.com [209.85.214.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DB33E0845 for ; Thu, 23 Oct 2014 20:43:53 +0000 (UTC) Received: by mail-ob0-f178.google.com with SMTP id wn1so1362298obc.37 for ; Thu, 23 Oct 2014 13:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xo75zQyWGdzIVZ8Lf897h7g67l+sIBKi9/vKVKQ3EdU=; b=DBTMZkG8JlwJAgwPQGFEeFELneSNggCa05Yyi33moUEAYxpVnEca8wRenrEUvNSJ46 BlxedOoVathivIOTr/f61ExXNkCbWhQeIEkaxxokej7J1xkV5xjhxsEKM6KMjEkGEEl/ f2NporYwR0Xh4jpBE16t/JPb05GGg1+dSC+LCvrieWWEXyI2l7RNjbTcOB7Z/l3pJS5X i9qF5J1zxjOZ/kZORsMBrHSREQ6vK/+Zgki//PCeyR6umpXQm7V9RP353Az7T5pecQta bkdvarA5NiqJSPQQ/wTWE7Z8+j9UAxL4geu1qNiNcZMYistirBXuu+RaTUMF0Pio3sW+ gIOQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.60.62.8 with SMTP id u8mr24311oer.39.1414097032606; Thu, 23 Oct 2014 13:43:52 -0700 (PDT) Received: by 10.182.171.74 with HTTP; Thu, 23 Oct 2014 13:43:52 -0700 (PDT) In-Reply-To: References: Date: Thu, 23 Oct 2014 13:43:52 -0700 Message-ID: Subject: Re: [gentoo-user] Question about the ".section .note.GNU-stack," failure during compilation From: Mat Troi To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=089e015382aa4e76ee05061d1f34 X-Archives-Salt: 566b7e1e-9112-4473-9873-c0098b7c9085 X-Archives-Hash: 33bbf789b4e1486f5a9f9f7b2510bc02 --089e015382aa4e76ee05061d1f34 Content-Type: text/plain; charset=UTF-8 I read the install document and I emailed gnutls-help@lists.gnutls.org and was told to comment out the line or try to find equivalent syntax in Solaris. I couldn't find equivalent syntax in Solaris, so I commented it out, and got a little further. I have also tried to change the "%" to "@" like in your example code, but still doesn't work. On Thu, Oct 23, 2014 at 10:06 AM, Alexander Kapshuk < alexander.kapshuk@gmail.com> wrote: > On Thu, Oct 23, 2014 at 12:43 AM, Mat Troi wrote: > > Hi, > > > > I am trying to compile GNUTLS 3.3.9 on a Solaris system with Solaris > > Studio 12.2 and I got a bunch of errors relating to GNU-stack. > > > > Assembler: > > "elf/cpuid-x86_64.s", line 59 : Syntax error > > Near line: ".section .note.GNU-stack,"",%progbits" > > Assembler: > > "elf/aes-ssse3-x86_64.s", line 841 : Syntax error > > Near line: ".section .note.GNU-stack,"",%progbits" > > cc: fbe failed for elf/cpuid-x86_64.s > > cc: fbe failed for elf/aes-ssse3-x86_64.s > > Assembler: > > "elf/e_padlock-x86_64.s", line 1067 : Syntax error > > Near line: ".section .note.GNU-stack,"",%progbits" > > make[5]: *** [elf/cpuid-x86_64.lo] Error 1 > > make[5]: *** Waiting for unfinished jobs.... > > make[5]: *** [elf/aes-ssse3-x86_64.loAssembler: ] Error 1 > > > > Has anyone seen these type of erros and what is a way to fix this? > > > > Thanks, > > Mat > > > > Have you tried asking at the mailing lists below: > gnutls-help@lists.gnutls.org > gnutls-devel@lists.gnutls.org > Did you consult this document for installation instructions: > http://www.gnutls.org/manual/gnutls.pdf > > I'm not too sure, but could the problem be in the '%progbits' section. > Here's the syntax generated by gcc on my Gentoo system: > .size main, .-main > .ident "GCC: (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) 4.7.3" > .section .note.GNU-stack,"",@progbits > > --089e015382aa4e76ee05061d1f34 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I read the install document and I emailed gnutls-help@lists.gnutls.org and w= as told to comment out the line or try to find equivalent syntax in Solaris= .=C2=A0 I couldn't find equivalent syntax in Solaris, so I commented it= out, and got a little further.

I have also tried to change th= e "%" to "@" like in your example code, but still doesn= 't work.

On Thu, Oct 23, 2014 at 10:06 AM, Alexander Kapshuk = <alexan= der.kapshuk@gmail.com> wrote:
On Thu, Oct 23, 2014 at 12:43 AM= , Mat Troi <mattroisang@gmail.c= om> wrote:
> Hi,
>
> I am trying to compile GNUTLS 3.3.9 on a Solaris system with Solaris > Studio 12.2 and I got a bunch of errors relating to GNU-stack.
>
> Assembler:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"elf/cpuid-x86_64.s", line = 59 : Syntax error
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Near line: ".section .note.GNU-s= tack,"",%progbits"
> Assembler:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"elf/aes-ssse3-x86_64.s", l= ine 841 : Syntax error
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Near line: ".section .note.GNU-s= tack,"",%progbits"
> cc: fbe failed for elf/cpuid-x86_64.s
> cc: fbe failed for elf/aes-ssse3-x86_64.s
> Assembler:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"elf/e_padlock-x86_64.s", l= ine 1067 : Syntax error
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Near line: ".section .note.GNU-s= tack,"",%progbits"
> make[5]: *** [elf/cpuid-x86_64.lo] Error 1
> make[5]: *** Waiting for unfinished jobs....
> make[5]: *** [elf/aes-ssse3-x86_64.loAssembler: ] Error 1
>
> Has anyone seen these type of erros and what is a way to fix this?
>
> Thanks,
> Mat
>

Have you tried asking at the mailing lists below:
gnutls-help@lists.gnutls.or= g
gnutls-devel@lists.gnutls.= org
Did you consult this document for installation instructions:
http:= //www.gnutls.org/manual/gnutls.pdf

I'm not too sure, but could the problem be in the '%progbits' s= ection.
Here's the syntax generated by gcc on my Gentoo system:
=C2=A0 =C2=A0 .size=C2=A0 =C2=A0 main, .-main
=C2=A0 =C2=A0 .ident=C2=A0 =C2=A0 "GCC: (Gentoo 4.7.3-r1 p1.4, pie-0.5= .5) 4.7.3"
=C2=A0 =C2=A0 .section=C2=A0 =C2=A0 .note.GNU-stack,"",@progbits<= br>

--089e015382aa4e76ee05061d1f34--