[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

FW: Bootstrap failure gcc 3.2 cvs branch: lib.o: In function `lib__sort': /gcc/ada/lib-sort.adb:39: undefined reference to `__enable_execute_stack'



Is this well-known and worked on?

/ChJ

-----Original Message-----
From: Florian Weimer [mailto:fw@deneb.enyo.de] 
Sent: Monday, September 30, 2002 8:35 PM
To: Christian Jönsson
Cc: gcc bugs
Subject: Re: Bootstrap failure gcc 3.2 cvs branch: lib.o: In function
`lib__sort': /gcc/ada/lib-sort.adb:39: undefined reference to
`__enable_execute_stack'


Christian Jönsson <christian@j-son.org> writes:

> This was on a Debian 3.0 (Woody) dual SuperSparc-II sun4m system with 
> these
> packages:

This is a known problem in the Debian/Sparc version of GNAT.  I think
I've already filed a bug report.  Ah, yes, it's #145441:

Package: gnat
Version: 3.14p-3
Severity: normal

The SPARC version of GNAT emits code to make the stack executable. (Look
at the sysconf() magic in sparc.h.)  Due to some linking issues, this
prevents GCC 3.1 from building on Debian/SPARC.

Of course, GCC 3.1/3.2 could be fixed, but the stack is executable on
Linux anyway, so GNAT shouldn't emit the code in the first place.




Reply to: