This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
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'
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Christian Jönsson <christian at j-son dot org>
- Cc: gcc bugs <gcc-bugs at gcc dot gnu dot org>
- Date: Mon, 30 Sep 2002 20:34:42 +0200
- 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'
- References: <20020929100921.GA12629@j-son.org>
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.