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

Solved: Re: 673015 (gprbuild: [hurd-i386] could not create $DIRECTORY/auto.cgpr)



retitle 673015 gprbuild: Add support for GNU/Hurd in linker.xml.
tags 673015 patch
usertags 673015 hurd
user debian-hurd@lists.debian.org
thanks

On Thu, 2012-06-28 at 00:26 +0200, Svante Signell wrote:
> On Wed, 2012-06-27 at 23:56 +0200, Ludovic Brenta wrote:
> > Svante Signell <svante.signell@telia.com> writes:
> ...
> I've traced this problem with GDB to the following code in tracebak.c:

Hi, 
The problem with the traceback function is now solved, see bug #681998
for gnat-4.6. For grpbuild, we need to add support for GNU/Hurd in
linker.xml. The inlined patch below solves that problem.
All remaining gnat packages build properly now, including gnat-gps, with
a small patch applied, see bug #682001.

--- a/share/gprconfig/linker.xml 2012-06-26 20:54:32.000000000 +0200
+++ b/share/gprconfig/linker.xml 2012-07-17 21:08:24.000000000 +0200
@@ -340,12 +340,13 @@
     </config>
   </configuration>
 
-  <!-- linux, freebsd and Irix-->
+  <!-- linux, freebsd, Hurd and Irix-->
   <configuration>
     <targets>
        <target name="^.*linux.*$" />
        <target name="^.*freebsd.*$" />
        <target name="^.*irix.*$" />
+       <target name="^.*gnu.*$" />
     </targets>
     <config>
    for Library_Builder  use "${GPRCONFIG_PREFIX}lib/gprlib";



Reply to: