Reportign successful build new distro

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 :wink: (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)

only_lists_install_BASE_not_whether_compiled

termcap-1.3.2
termutils-2.0
texinfo-4.13
make-3.82
make-3.80
bison-2.4.1
flex-2.5.35
m4-1.4.13
autoconf-2.68
automake-1.11
libtool-2.2.10
gmp-6.0.0
mpfr-3.1.2
mpc-1.0.2
gcc-4.4.5
zlib-1.1.4
zlib-1.2.7
binutils-2.21.1

why: tightly tiedto zlib they said

libpng-1.4.15
e2fsprogs-1.37
e2fsprogs-libs-1.37
util-linux-ng-2.13

ignore

termcap-1.3.2.so.0
----------------------- built in /chroot1 after changeover of new tools
glibc-2.11.2
readline-4.0
readline-5.0
coreutils-8.5
tar-1.22
gawk-3.1.7
grep-2.7
ed-1.4
sed-4.2.1
#openssl-1.0.0c

wget was 2 and 3? put with openssl in 3

#wget-1.12
which-2.20
rcs-5.7
patch-2.6.1
less-443
gzip-1.4
bc-1.06
diffutils-3.0
sed-4.2.1
strace-4.5.20
acct-6.5
quota-3.17
cron-3.0pl1.orig
gettext-0.15

see README.build or README.notes

libiconv-1.11

perl-5.10.1
XML-Parser-2.27
Python-2.5
Python-2.7.3
libxml2-2.7.7
libxslt-1.1.25
xmlto-0.0.25

xc installs other ver too, so keep together put in 3.list

expat-2.0.1

bash-4.3
bash-4.0

procps-2.0.7 broken

procps-3.2.5
psmisc-21.4
findutils-4.4.2

older gnome

libxml-1.8.17
libxml2-2.4.19
libxml2-2.6.16

/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(

======================
SUMMARY:

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)