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

Problem building gnat 4.8 using gnat 4.8 on armhf



Hi,

I maintain gcc-mingw-w64, which is a full build of gcc including gnat
targeting mingw-w64. I recently updated the package to build using gcc 4.8
and gnat 4.8, and now the armhf build times out when running xsinfo. While
investigating I thought I'd try a build of gnat-4.8 itself using gnat-4.8
instead of the default gnat, to see if the problem is target-specific; it
turns out it isn't, and gnat-4.8 fails to build on armhf when using gnat-4.8:

mkdir -p ada/bldtools/sinfo
rm -f ada/bldtools/sinfo/sinfo.ads ada/bldtools/sinfo/sinfo.adb ada/bldtools/sinfo/xsinfo.adb ada/bldtools/sinfo/csinfo.adb
cp -p ../../src/gcc/ada/sinfo.ads ../../src/gcc/ada/sinfo.adb ../../src/gcc/ada/xsinfo.adb ../../src/gcc/ada/csinfo.adb ada/bldtools/sinfo
(cd ada/bldtools/sinfo; gnatmake -q xsinfo ; ./xsinfo sinfo.h )
[... test results OK ...]
All tests completed successfully, no errors detected

The build then just sits there until the five-hour timeout, with xsinfo using
all the CPU time it can get.

The changes I made to gnat-4.8 for the test are:
* replace "gnat (>= 4.1)" with "gnat-4.8" in rules.conf
* force CC to be gcc in rules2

Do you have any idea what could be causing this?

Regards,

Stephen

Attachment: signature.asc
Description: PGP signature


Reply to: