Bug#913371: gnat-gps fails to build on 32-bit kernels, address space exhaustion.

2018-12-09 Thread Nicolas Boulenguez
Package: src:gnat-gps
Followup-For: Bug #913371

gnat-gps/18 now fails to build on armhf, while 18-3 was succeeding on
the same architecture.

After investigation, the only successful builds of gnat-gps/18 on 32
bits architectures so far (armhf i386 powerpc) were registered with a
32 bits chroot on a 64 bits machine.

I suggest the following architecture list, with only 64 bits
architectures, but any better idea is welcome.

amd64 arm64 mips64el ppc64el s390x alpha ia64 kfreebsd-amd64 ppc64
riscv64 sparc64



Bug#913371: gnat-gps fails to build on 32-bit kernels, address space exhaustion.

2018-11-22 Thread Ludovic Brenta
I think this is the best way forward.

--
Ludovic Brenta.



Bug#913371: gnat-gps fails to build on 32-bit kernels, address space exhaustion.

2018-11-20 Thread Nicolas Boulenguez
Package: src:gnat-gps
Followup-For: Bug #913371

Maybe we should restrict the architecture set for this binary package?
I doubt that anyone is using a graphical IDE like gnat-gps on
armel/mips/mipsel.

On the other hand, building on all architectures improves the quality,
so I would remove failing architectures instead of providing an
explicit list.

Any better idea?



Bug#913371: gnat-gps fails to build on 32-bit kernels, address space exhaustion.

2018-11-17 Thread Nicolas Boulenguez
Package: src:gnat-gps
Followup-For: Bug #913371

The issue is reproducible on mipsel with
  MALLOC_ARENA_MAX  = 1
  DEB_BUILD_OPTIONS = noopt parallel=1
The package was building in experimental, the faulty version only
differs by
  LDFLAGS += -Wl,--no-allow-shlib-undefined -Wl,--no-copy-dt-needed-entries
The dependencies have not changed much either.
Maybe the problem probably originates in compiler changes.



Bug#913371: gnat-gps fails to build on 32-bit kernels, address space exhaustion.

2018-11-17 Thread Nicolas Boulenguez
Package: src:gnat-gps
Followup-For: Bug #913371

In case this helps: 18-3 managed to build on i386.
https://buildd.debian.org/status/fetch.php?pkg=gnat-gps=i386=18-3=1542064776=0



Bug#913371: gnat-gps fails to build on 32-bit kernels, address space exhaustion.

2018-11-11 Thread peter green

On 11/11/18 19:14, Nicolas Boulenguez wrote:

Package: src:gnat-gps
Followup-For: Bug #913371
Control: reopen -1
Version: 18-3

With parallelism disabled, the build should use (at least) two times
less memory at a given moment.

Virtual address space is per-process. So while disabling make-level
parallelism reduces ram/swap consumption it has no impact on
virtual address space exhaustion issues.

Linux overcommits memory, so if you see a memory allocation
error then it probably means you ran out of virtual address space.
Exhaustion of actual ram/swap generally results in your process
getting killed by the OOM killer.


  However, it fails with the same error
on the same architectures.
Reopening the bug. Sorry for the noise.





Bug#913371: gnat-gps fails to build on 32-bit kernels, address space exhaustion.

2018-11-11 Thread Nicolas Boulenguez
Package: src:gnat-gps
Followup-For: Bug #913371
Control: reopen -1
Version: 18-3

With parallelism disabled, the build should use (at least) two times
less memory at a given moment. However, it fails with the same error
on the same architectures.
Reopening the bug. Sorry for the noise.