[gnutls-help] Compiling gnutls 3.3 with Solaris Studio 12.2

Nikos Mavrogiannopoulos nmav at gnutls.org
Thu Oct 23 09:14:31 CEST 2014


On Thu, Oct 23, 2014 at 9:09 AM, Nikos Mavrogiannopoulos
<nmav at gnutls.org> wrote:
> On Wed, Oct 22, 2014 at 4:36 AM, Mat Troi <mattroisang at gmail.com> wrote:
>> Hi,
>>
>> While compiling gnutls 3.3 with Solaris Studio 12.2, I got the error below:
>>
>> Assembler:
>>         "elf/cpuid-x86_64.s", line 59 : Syntax error
>>         Near line: ".section .note.GNU-stack,"",%progbits"
>> cc: fbe failed for elf/cpuid-x86_64.s
>>
>> I did a little research and found this has to do with hinting this object
>> file does not require an executable stack, but I could not find any hint on
>> fixing the error.  Has anyone seen and know how to fix?
> Hi,
>  You can simply remove that line, or compile using gnu as. If you know
> some way to express that portably for the solaris as it would be
> better.

btw. would putting that line in
#if defined(__linux__)

#endif

block work in solaris?

regards,
Nikos



More information about the Gnutls-help mailing list