[Flang-dev] strange build failure in chroot'd environment

Morin, Monique Marlene morin at lanl.gov
Thu Oct 4 12:12:52 EDT 2018


We tend to build FLANG with gcc/7.3.0 and cmake/3.10.2 if that is helpful as a point of reference.


________________________________
From: flang-dev <flang-dev-bounces at lists.flang-compiler.org> on behalf of blubee blubeeme <gurenchan at gmail.com>
Sent: Wednesday, October 3, 2018 8:02 PM
To: flang-dev at lists.flang-compiler.org
Subject: [Flang-dev] strange build failure in chroot'd environment

I am trying to build flang in a FreeBSD jail: https://www.freebsd.org/cgi/man.cgi?query=jail&sektion=8

The strange thing is the same source code compiles on my machine but fails in the jail.

I am using the exact same code; it always seems to fail around intrinsic functions or when compiling right around 40-50% mark.

I have lots of debug info, I have the compile log from the host environment and from the jail.

The only difference that I can see is my host system uses cmake 3.9.6 and the jail uses the newer 3.12.1

Maybe 3.12.1 is more picky.

I'll put them on pastebin
cmake build tree; tree -alR
https://pastebin.com/yHes2dye

this is a diff file of the gmake command from the jail vs from the host machine
https://transfer.sh/14hid7/gmake.diff

You can see where the jail environment  build fails while the host machine continues to completion.

Has anyone tried building flang with cmake > 3.9.6?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.flang-compiler.org/pipermail/flang-dev_lists.flang-compiler.org/attachments/20181004/19d86804/attachment.html>


More information about the flang-dev mailing list