Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Question about the ".section .note.GNU-stack," failure during compilation
Date: Thu, 23 Oct 2014 17:06:22
Message-Id: CAJ1xhMWvWL4WeU97bRZHDifnxa9W=Vo+oC6pN=XzKq-UtdVT9Q@mail.gmail.com
In Reply to: [gentoo-user] Question about the ".section .note.GNU-stack," failure during compilation by Mat Troi
1 On Thu, Oct 23, 2014 at 12:43 AM, Mat Troi <mattroisang@×××××.com> wrote:
2 > Hi,
3 >
4 > I am trying to compile GNUTLS 3.3.9 on a Solaris system with Solaris
5 > Studio 12.2 and I got a bunch of errors relating to GNU-stack.
6 >
7 > Assembler:
8 > "elf/cpuid-x86_64.s", line 59 : Syntax error
9 > Near line: ".section .note.GNU-stack,"",%progbits"
10 > Assembler:
11 > "elf/aes-ssse3-x86_64.s", line 841 : Syntax error
12 > Near line: ".section .note.GNU-stack,"",%progbits"
13 > cc: fbe failed for elf/cpuid-x86_64.s
14 > cc: fbe failed for elf/aes-ssse3-x86_64.s
15 > Assembler:
16 > "elf/e_padlock-x86_64.s", line 1067 : Syntax error
17 > Near line: ".section .note.GNU-stack,"",%progbits"
18 > make[5]: *** [elf/cpuid-x86_64.lo] Error 1
19 > make[5]: *** Waiting for unfinished jobs....
20 > make[5]: *** [elf/aes-ssse3-x86_64.loAssembler: ] Error 1
21 >
22 > Has anyone seen these type of erros and what is a way to fix this?
23 >
24 > Thanks,
25 > Mat
26 >
27
28 Have you tried asking at the mailing lists below:
29 gnutls-help@××××××××××××.org
30 gnutls-devel@××××××××××××.org
31 Did you consult this document for installation instructions:
32 http://www.gnutls.org/manual/gnutls.pdf
33
34 I'm not too sure, but could the problem be in the '%progbits' section.
35 Here's the syntax generated by gcc on my Gentoo system:
36 .size main, .-main
37 .ident "GCC: (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) 4.7.3"
38 .section .note.GNU-stack,"",@progbits

Replies