This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]