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

Bug#401385: Or build libgnat-4.1 with minimal debugging



Package: libgnat-4.1
Version: 4.1.1-19
Followup-For: Bug #401385

Some GDB tests in HEAD are now affected by this problem.  From Joel
Brobecker at AdaCore:

  I have now checked in a patch in GCC that explains that the GNAT
  runtime should not be stripped. Would you mind filing a bug with
  the Debian maintainers? I'm not familiar with the procedure. You
  may want to mention to them that they should be able to build the
  runtime without -g. There is a flag for it, probably LIBGNATCFLAGS
  or some such. The makefiles will know to force -g -O1 for the few
  units we need.

I suspect he's actually referring to FORCE_DEBUG_ADAFLAGS.

If you want to go ahead with separated debug info for the shared library,
though, that should work fine too.  I think trying to build it without
-g would be quite inconvenient.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20-rc3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libgnat-4.1 depends on:
ii  gnat-4.1-base                4.1.1-19    The GNU Compiler Collection (gnat 
ii  libc6                        2.3.6.ds1-9 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-21  GCC support library

libgnat-4.1 recommends no packages.

-- no debconf information



Reply to: