FYI, this is a cross build.

Ok, I see the dependency trouble here, but I'm not sure how to resolve this:

The C++ includes come from gcc itself, when built with the c++ option, (or so I believe.)

gcc at stage 0 needs isl  as a dependency,  isl is at 102.290, and gcc is at 102.300, and that works OK.

but at stage 1, when isl tries to build at 102.290, the C++ includes are not built yet, so it's failing.

I can't change gcc's priority to go before isl, snice that will cause the stage 0 dependent order to fail, but once isl is built for stage 0, we can use the stage 0 presence to satisfy gcc's dependency for isl in stage 1, so then gcc in stage 1 should not need isl in stage 1 before it, but I don't know how to express this so we can have it both ways.


Do we need an other stage between 0 & 1 for cross builds to solve this?

For now, I will try to take isl out of the stage 1 build, (I don't) need it, and the stage 0 isl will work for my cross building purposes, but this is not a universal fix.


Jan


 On 2/19/20 12:51 PM, Jan Rovins wrote:
Next failure:

isl_test_cpp.cc:8:10: fatal error: vector: No such file or directory
    8 | #include <vector>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1721: isl_test_cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/opt/t2-trunk/src.isl.default.20200219.175005.3353.j-ryzen-3950/isl-0.22.1'
make[1]: *** [Makefile:1824: all-recursive] Error 1
make[1]: Leaving directory '/opt/t2-trunk/src.isl.default.20200219.175005.3353.j-ryzen-3950/isl-0.22.1'
make: *** [Makefile:1372: all] Error 2
Due to previous errors, no 1-isl.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
Creating file list and doing final adaptions ...
Searching for orphaned files ...
Found 6 files for this package.
Found 1 orphaned files for this package.
Clear (old) md5sums ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.
== 02/19/20 17:50:16 =[1]=> Aborted building package isl.


Jan




----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to