Often (compiler) docs ask for a report of a successful build on new platform. This is an old and new one. This is for llvm-3.5.2.src/
This distro is a linux compiled from scratch automatically (no book, compiles all non-stop no build stops, at all incl. kernel, grub). It was build from debian/sarge chroot that builds xlfs-2010 (which then reuilt itself). xlfs-2010 (a complete OS custom unix configs) is now including LLVM to upgrade. It’s 2010-2016 really.
LLVM was EASY. It required only 2 options changed compared to “default options of global build script”. std=“” (don’t set it) and stdcpp=“c++11” (for CXX -std), and ./configure didn’t like --enabled-shared, --enabled-shared=yes (isn’t that a double positive?). very easy.
Obviously “automake > 1.1” was not really a minimum (I think that contains allot of m4 that checks things it has no business checking, like insisting X11 is Xorg not X11R6-4.8 and allot of other “you must comply to big distro” additions)
(the site ./build script applies options and fixes 230 of 584 pkgs, while the remainder build out of extration without)
----------------------- built in /chroot1 after changeover of new tools
/chroot2 can now build anything else version compatible - 584 pgks, X11, Xorg, firefox
the above used, as a chroot, compiled LLVM
(again, built with sarge then the xlfs build or xlfs built also)
The above is chroot1 and chroot2 list, the third list not shown builds /usr/apps/
various things are different in the OS above, for instance: relro is not used, /etc/ is custom, compiler locations differ
/usr, /usr/gcc, /usr/libc/, /usr/app/, /usr/alt/ (alt contains gcc-2.95(
LLVM-3.5.2 builds on a custom linux OS “built totally from scratch automatically”
furthermore the build is non-stop so the versions above are tested to work (the above process is clean - no stale OS files lingering)