Gentoo Archives: gentoo-user

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