public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Question about the ".section .note.GNU-stack," failure during compilation
@ 2014-10-22 21:43 Mat Troi
  2014-10-23 17:06 ` Alexander Kapshuk
  0 siblings, 1 reply; 3+ messages in thread
From: Mat Troi @ 2014-10-22 21:43 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Question about the ".section .note.GNU-stack," failure during compilation
  2014-10-22 21:43 [gentoo-user] Question about the ".section .note.GNU-stack," failure during compilation Mat Troi
@ 2014-10-23 17:06 ` Alexander Kapshuk
  2014-10-23 20:43   ` Mat Troi
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kapshuk @ 2014-10-23 17:06 UTC (permalink / raw
  To: Gentoo mailing list

On Thu, Oct 23, 2014 at 12:43 AM, Mat Troi <mattroisang@gmail.com> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Question about the ".section .note.GNU-stack," failure during compilation
  2014-10-23 17:06 ` Alexander Kapshuk
@ 2014-10-23 20:43   ` Mat Troi
  0 siblings, 0 replies; 3+ messages in thread
From: Mat Troi @ 2014-10-23 20:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1930 bytes --]

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 <mattroisang@gmail.com> 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
>
>

[-- Attachment #2: Type: text/html, Size: 2960 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-23 20:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-22 21:43 [gentoo-user] Question about the ".section .note.GNU-stack," failure during compilation Mat Troi
2014-10-23 17:06 ` Alexander Kapshuk
2014-10-23 20:43   ` Mat Troi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox