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

Bug#634881: gnat-4.6: FBTFS on mips/mipsel: Bootstrap comparison failure!



Package: gnat-4.6
Version: 4.6.1-1
Severity: important
Justification: fails to build from source

gnat-4.6 fails to build on mips/mipsel due to a bootstrap comparison
failure. It appears that it is due to stage2 and stage3 not being
compiled with the same options: stage2 is compiled without debugging,
while stage3 is compiled with debugging. However I fail to understand
how it is mips specific.

The patch below workarounds the issue, and allows a full build of
gnat-4.6 on mips/mipsel. Any idea what would be a proper fix?


--- a/src/config/bootstrap-debug.mk
+++ b/src/config/bootstrap-debug.mk
@@ -9,4 +9,5 @@
 # For more thorough testing, see bootstrap-debug-lean.mk
 
 STAGE2_CFLAGS += -gtoggle
+STAGE3_CFLAGS += -gtoggle
 do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: mips(mips64)

Kernel: Linux 2.6.32-5-5kc-malta 
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: