Compare commits

...

11 Commits

Author SHA1 Message Date
Andrius Štikonas 63d2bc7a1b Fix typos. 2021-07-15 17:59:11 +01:00
Andrius Štikonas 3d64db72dc gperf 3.1 2021-07-15 17:57:45 +01:00
Andrius Štikonas 4cd5b9dfbb Unfuzzy bison patch. 2021-07-15 17:57:45 +01:00
Andrius Štikonas effa9ba93a Build g++. 2021-07-15 17:57:45 +01:00
Andrius Štikonas 3835f1e1aa Switch toolchain triplet to i386-unknown-linux-musl 2021-07-15 17:57:45 +01:00
Andrius Štikonas e94e078a1f Fix libunistring.
It seems that there is some instability of git snapshot packages.
I think newer version of git on the remote server packages them
in a different directory layout.
2021-07-15 17:57:45 +01:00
Andrius Štikonas 2b69b2dca2 GCC 4.7.4 2021-07-15 17:57:45 +01:00
Andrius Štikonas 740fa5635b zlib-1.2.11. 2021-07-07 20:16:31 +01:00
Andrius Štikonas d6b032501a Do not build broken shared libraries. 2021-07-05 20:05:11 +01:00
Andrius Štikonas 4b3d36afb8 Downgrade autoconf to 2.64. 2021-07-05 19:12:19 +01:00
Andrius Štikonas db27ef0049 Fix tarball download function.
We were using Python's requests library and it was automatically
uncompressing some tarballs. Switch to using raw requests to avoid that.
2021-07-05 19:10:14 +01:00
41 changed files with 368 additions and 108 deletions

View File

@ -7,13 +7,13 @@ f757158a04889b265203eecd8ca92568e2a67c3b9062fa6bff7a0a6efd2244ac autoconf-2.55.
e1035aa2c21fae2a934d1ab56c774ce9d22717881dab8a1a5b16d294fb793489 autoconf-2.57.tar.bz2
f0cde70a8f135098a6a3e85869f2e1cc3f141beea766fa3d6636e086cd8b90a7 autoconf-2.59.tar.bz2
93a2ceab963618b021db153f0c881a2de82455c1dc7422be436fcd5c554085a1 autoconf-2.61.tar.bz2
db11944057f3faf229ff5d6ce3fcd819f565455c152b72cec17ebc1cbb80136b autoconf-2.65.tar.bz2
872f4cadf12e7e7c8a2414e047fdff26b517c7f1a977d72433c124d0d3acaa85 autoconf-2.64.tar.bz2
64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684 autoconf-2.69.tar.xz
e8a6eb9d28ddcba8ffef3fa211653239e9bf239aba6a01a6b7cfc7ceaec69cbd autoconf-archive-2021.02.19.tar.xz
e98ab43bb839c31696a4202e5b6ff388b391659ef2387cf9365019fad17e1adc automake-1.10.3.tar.bz2
4f46d1f9380c8a3506280750f630e9fc915cb1a435b724be56b499d016368718 automake-1.11.2.tar.bz2
af6ba39142220687c500f79b4aa2f181d9b24e4f8d8ec497cea4ba26c64bedaf automake-1.15.1.tar.xz
ff2bf7656c4d1c6fdda3b8bebb21f09153a736bcba169aaf65eab25fa113bf3a automake-1.16.3.tar.xz
ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f automake-1.16.3.tar.gz
503cdc2b0992a4309545d17f462cb15f99bb57b7161dfc4082b2e7188f2bcc0f automake-1.4-p6.tar.gz
0dbafacaf21e135cab35d357a14bdcd981d2f2d00e1387801be8091a31b7bb81 automake-1.6.3.tar.bz2
2dddc3b51506e702647ccc6757e15c05323fa67245d2d53e81ed36a832f9be42 automake-1.7.8.tar.bz2
@ -38,6 +38,7 @@ c40385e142989c91989413f3c5a31282b2ffdca16b69cd3ecfde537b8a474921 flex-2.5.33.ta
e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 flex-2.6.4.tar.gz
5cc35def1ff4375a8b9a98c2ff79e95e80987d24f0d42fdbb7b7039b3ddb3fb0 gawk-3.0.4.tar.gz
e9bf58c761a4f988311aef6b41f12fd5c7e51d09477468fb73826aecc1be32e7 gcc-4.0.4.tar.bz2
92e61c6dc3a0a449e62d72a38185fda550168a86702dea07125ebd3ec3996282 gcc-4.7.4.tar.bz2
d20fcbb537e02dcf1383197ba05bd0734ef7bf5db06bdb241eb69b7d16b73192 gettext-0.21.tar.xz
fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2 gmp-6.2.1.tar.xz
df807e694deea2dcba0c43af318394f3e3fcd52658c3b71b61dad0ce0c0cfb77 gnulib-30820c.tar.gz
@ -49,6 +50,7 @@ df807e694deea2dcba0c43af318394f3e3fcd52658c3b71b61dad0ce0c0cfb77 gnulib-30820c.
1aeea67b7b3883ebcf2b90bc01f4182d7de073a052dabd3749f20c5aa4ad3e27 gnulib-b81ec69.tar.gz
12cfa21abf618a274017d6b18e95fc6582519d7c08e2403e5c5772ccdd5b85f4 gnulib-d279bc.tar.gz
a285dc300c3d9c25cc06e38827ef40f6073ec3b9b0fcb5bba433f943be92d8d4 gnulib-e017871.tar.gz
588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2 gperf-3.1.tar.gz
a32032bab36208509466654df12f507600dfe0313feebbcd218c32a70bf72a16 grep-2.4.tar.gz
1ca41818a23c9c59ef1d5e1d00c0d5eaa2285d931c0fb059637d7c0cc02ad967 gzip-1.2.4.tar.gz
9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba heirloom-devtools-070527.tar.bz2
@ -84,3 +86,4 @@ c6c37e888b136ccefab903c51149f4b7bd659d69d4aea21245f61053a57aa60a tar-1.12.tar.g
de23af78fca90ce32dff2dd45b3432b2334740bb9bb7b05bf60fdbfc396ceb9c tcc-0.9.27.tar.bz2
988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa texinfo-6.7.tar.xz
166c48d2842519bc4f96333bff9e265f8cdda44d38e40594ef3f9bbb52890490 xz-5.0.5.tar.bz2
4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066 zlib-1.2.11.tar.xz

View File

@ -195,7 +195,7 @@ we patch mes libc.
tcc 0.9.27
==========
Rebuild tcc 0.9.27 to get the fix from patches mes libc. We have to do
Rebuild tcc 0.9.27 to get the fix from patched mes libc. We have to do
it using older ``tcc`` because tcc-0.9.27 is not self hosting.
musl 1.1.24
@ -689,6 +689,24 @@ texinfo 6.7
Texinfo is a typesetting syntax used for generating documentation. We can now use
``makeinfo`` script to convert ``.texi`` files into ``.info`` documentation format.
zlib 1.2.11
===========
zlib is a software library used for data compression and implements an abstraction of
DEFLATE algorithm that is also used in ``gzip``.
gcc 4.7.4
=========
GCC 4.7.4 is the last version written in C. This time we build both C and C++ backends.
C++ backend has some dependency on ``gperf`` which is written in C++. Fortunately, it is
easy to patch it out and resulting ``g++`` compiler is capable of building ``gperf``.
gperf 3.1
=========
``gperf`` is a perfect hash function generator (hash function is injective).
libunistring 0.9.10
===================

23
sysa.py
View File

@ -76,8 +76,12 @@ class SysA:
# Actually download the file
if not os.path.isfile(abs_file_name):
print("Downloading: %s" % (file_name))
request = requests.get(url, allow_redirects=True)
open(abs_file_name, 'wb').write(request.content)
response = requests.get(url, allow_redirects=True, stream=True)
if response.status_code == 200:
with open(abs_file_name, 'wb') as target_file:
target_file.write(response.raw.read())
else:
raise Exception("Download failed.")
# Check SHA256 hash
self.check_file(abs_file_name)
@ -359,8 +363,8 @@ class SysA:
# automake 1.10.3
self.get_file("https://mirrors.kernel.org/gnu/automake/automake-1.10.3.tar.bz2")
# autoconf 2.65
self.get_file("https://mirrors.kernel.org/gnu/autoconf/autoconf-2.65.tar.bz2")
# autoconf 2.64
self.get_file("https://mirrors.kernel.org/gnu/autoconf/autoconf-2.64.tar.bz2")
# gcc 4.0.4
self.get_file("https://mirrors.kernel.org/gnu/gcc/gcc-4.0.4/gcc-core-4.0.4.tar.bz2",
@ -434,7 +438,7 @@ class SysA:
"https://salsa.debian.org/perl-team/interpreter/perl/-/archive/5f2dc80/perl-5f2dc80.tar.bz2"])
# automake 1.16.3
self.get_file("https://mirrors.kernel.org/gnu/automake/automake-1.16.3.tar.xz")
self.get_file("https://mirrors.kernel.org/gnu/automake/automake-1.16.3.tar.gz")
# patch 2.7.6
self.get_file(["https://mirrors.kernel.org/gnu/patch/patch-2.7.6.tar.xz",
@ -448,6 +452,15 @@ class SysA:
self.get_file(["https://mirrors.kernel.org/gnu/texinfo/texinfo-6.7.tar.xz",
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-b81ec69.tar.gz"])
# zlib 1.2.11
self.get_file("https://www.zlib.net/zlib-1.2.11.tar.xz")
# gcc 4.7.4
self.get_file("https://mirrors.kernel.org/gnu/gcc/gcc-4.7.4/gcc-4.7.4.tar.bz2")
# gperf 3.1
self.get_file("https://mirrors.kernel.org/gnu/gperf/gperf-3.1.tar.gz")
# libunistring 0.9.10
self.get_file(["https://mirrors.kernel.org/gnu/libunistring/libunistring-0.9.10.tar.xz",
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-52a06cb3.tar.gz"])

View File

@ -13,7 +13,7 @@ src_prepare() {
}
src_configure() {
./configure --prefix="${PREFIX}" --program-suffix=-2.65
./configure --prefix="${PREFIX}" --program-suffix=-2.64
}
src_compile() {
@ -23,8 +23,8 @@ src_compile() {
src_install() {
make install MAKEINFO=true DESTDIR="${DESTDIR}"
ln -sf "${PREFIX}/bin/autoconf-2.65" "${DESTDIR}${PREFIX}/bin/autoconf"
ln -sf "${PREFIX}/bin/autoheader-2.65" "${DESTDIR}${PREFIX}/bin/autoheader"
ln -sf "${PREFIX}/bin/autom4te-2.65" "${DESTDIR}${PREFIX}/bin/autom4te"
ln -sf "${PREFIX}/bin/autoreconf-2.65" "${DESTDIR}${PREFIX}/bin/autoreconf"
ln -sf "${PREFIX}/bin/autoconf-2.64" "${DESTDIR}${PREFIX}/bin/autoconf"
ln -sf "${PREFIX}/bin/autoheader-2.64" "${DESTDIR}${PREFIX}/bin/autoheader"
ln -sf "${PREFIX}/bin/autom4te-2.64" "${DESTDIR}${PREFIX}/bin/autom4te"
ln -sf "${PREFIX}/bin/autoreconf-2.64" "${DESTDIR}${PREFIX}/bin/autoreconf"
}

View File

@ -4,7 +4,7 @@
src_prepare() {
rm doc/standards.info
autoreconf-2.65 -f
autoreconf-2.64 -f
# Install autoconf data files into versioned directory
for file in */*/Makefile.in */Makefile.in Makefile.in; do

View File

@ -19,10 +19,11 @@ src_prepare() {
}
src_configure() {
# --build argument needed for reproducibility
./configure --prefix="${PREFIX}" \
--without-bash-malloc \
--disable-nls \
--build=i386-unknown-linux-gnu \
--build=i386-unknown-linux-musl \
--enable-static-link
}

View File

@ -1 +1 @@
a34fd0018f1961ad3f750b612729f65aff760a6dc465264d0568471f47a61d31 /image/bin/bash
7b56621ecdc96fdde8863bea6e6ca903ab35619d0a453d906ed4dfc7d2c68e4d /image/bin/bash

View File

@ -7,7 +7,7 @@ src_prepare() {
../../import-gnulib.sh
AUTOPOINT=true autoreconf-2.65 -fi
AUTOPOINT=true autoreconf-2.69 -fi
# Remove pregenerated files
rm src/parse-gram.c src/parse-gram.h src/scan-skel.c src/scan-gram.c

View File

@ -3,7 +3,7 @@ SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: GPL-2.0-or-later
This macro does not exist in newer versions of autoconf and is unrequired.
There is no verion of autoconf supporting this project + gnulib + this macro.
There is no version of autoconf supporting this project + gnulib + this macro.
--- m4/po_gl.m4 2021-04-11 18:39:53.353069610 +1000
+++ m4/po_gl.m4 2021-04-11 18:40:20.422242498 +1000

View File

@ -6,7 +6,7 @@ fopen-safer.c for whatever reason does not exist when added by gnulib.
--- lib/Makefile.am 2021-04-11 19:01:01.265993928 +1000
+++ lib/Makefile.am 2021-04-11 19:01:40.413232722 +1000
@@ -32,7 +32,8 @@
@@ -31,7 +31,8 @@
lib_SOURCES = \
get-errno.h get-errno.c \
subpipe.h subpipe.c \

View File

@ -11,14 +11,14 @@ cd2187495f4f5adf59e48b62ad92d01c8d7c8b3d4f5bb76fc7c790217ab9bcce /image/bin/chc
453cb0c1cba85966823d91dfcb79fe494736839656bd757b790de7c3b1403d8c /image/bin/chown
6b90b8354b9fe3c8804384a8c028f01b6b04df764c3af5e8a8fbe1fa38aeca0c /image/bin/chroot
1cf4e54e3bf96739b5cd184dad44f40ed19f3a8b0aafd19f72997cef9b473db6 /image/bin/cksum
c969da84baa070bbdab9e269e6e3fec4f4b6ca385ed74632970ab7fbda78f4d1 /image/bin/comm
786a7661c0ab957e276218acdffc2b6dcbca521267b3857b7b9920e80da83fe1 /image/bin/comm
8e1ef24a88b8e032c2e1af3186a206212e8939fe011ff9c6fe278bbae5536d47 /image/bin/cp
d46f3c060d5edbea25a2fcf7c65dcbeed3d0084eb2f1a15c1b8f8eeed6642d67 /image/bin/csplit
fb8faa5610e38b9e3c186aa9cdfcbe7ca07809c3569e3dafe3890678c36ebeac /image/bin/cut
8146b6270016150120854b3eec6382d52d44e72f80abbde00c6c8238a78839b6 /image/bin/date
2d70f5bda07a63a645db04b7c0908ca96873f075e8a1d89422b90f48bffb04fa /image/bin/dd
7831d760c20670064963fa41b0939ac19932d8b04a4c7b56aabfd4d917962675 /image/bin/df
8c7c9de8ee2792b12cd0eeb795a366bb1d3812244a6eaee1b4d32ce878c6e077 /image/bin/dir
44499ede5dc7080ffb123b87645b5c8a3b9b53bef1c2e0edd93e810d3d9a3d12 /image/bin/dir
5601dc48fe224812071c2c1de6a73223aaf90921ec90c6575596f4fbeb92a570 /image/bin/dircolors
2ba169c8791696adc37779dcc35eb689af5bebce3ea05ba46d3c1b667dc6bc04 /image/bin/dirname
ce57fade16775a802e3b14643dd3e2d41db8bd6fe8a5005cc8ba2290c9d2be91 /image/bin/du
@ -35,12 +35,12 @@ f21cd98cbae3c93ba86893cbde49177f068b097aa75b9dad63bc233b8c0eff55 /image/bin/fac
b14cae09e34d8ff404fff1d44c9d5eb28ace744b25e18c097b2304b475195b49 /image/bin/hostid
a064920bb701620402aca4e73e53b0aa92dd98003d265f1b90e7d71e53bdd9ee /image/bin/id
efc206df123a0fc345347ca9d67a0c257af9751f860707f32729f7c4c0a713ee /image/bin/install
261a508fc2db1b42c40f37a96c3fbde8cdc527ad408c07558dede622513333f8 /image/bin/join
e4b88f6a1d9d63a5f765690b019aac1aa9e01641666444e6c41e2d8ae1f1be39 /image/bin/join
e0a9c45e9ecd9a50fec3bf50246ddf77c3e6220e295928878166fab92dea41bb /image/bin/kill
daa02c83dd3ab0d5e9fd3945500aae8838fd660f102f3e9826858235101c0e3c /image/bin/link
b2c4f2b084743a12c9bad0fa5403484c5ead4192eab69fc9b2f84971294eef8d /image/bin/ln
37dc27b546188d9a7525002c3557480fd53189819f5cea0e3ec9a5d0bf4edc4f /image/bin/logname
aa6b09e8cf5c4c992eaf41e92d085a2bfc56e9ff6f1e2fee7c7f9255a71d4187 /image/bin/ls
0c00c6773636fce64f37bf7bda1ab5bef9c4342a182a89b829d7903d63d39726 /image/bin/ls
1efa01b8f1295fa476366b7d1a15c823e9763a4f4d67195b27c2ba542d3e1048 /image/bin/md5sum
cf4c167f97ee4c120371b34759f2742e2eb35bb457585742d47c064d1cd20d20 /image/bin/mkdir
3b0b76786a1f2259f50eb479caf8389535522578e286780d0de0d8b5f5504d98 /image/bin/mkfifo
@ -55,8 +55,8 @@ adb3a4ee51b6142640052983cf61ab1c1a8cd949d0cb087baa53b7e68bc7d2eb /image/bin/npr
5085d336706f08f3bad923aa897de93ac438374f9852f0d2dec9b1e6e6dad1d7 /image/bin/od
7ed640050e9868ad1fed9e7834b40277b9d3b42d873b3b28c01192fce33b12c9 /image/bin/paste
53636efdd4fc5c4dcda3888e572dfbe1c39c7574e16fb88219e8fee12397305e /image/bin/pathchk
62539a81f0de9df7b5e2176668ed4b22c5d3e85d9ffe02164fc0b3dc3caf34e9 /image/bin/pinky
b8200442dcb94c2bc6918ce59e061247f7b1f7dea0514c789e23c5eb8491cece /image/bin/pr
2c33685f31ef55afefb5e2878ec6ad16a1731d00cf6fdc391fcdfc32633a9630 /image/bin/pinky
3db5a930e2e8e2d2d9fe5babce7ece1187a8e43fd3b3a73de46b7536c07488f6 /image/bin/pr
1b1505e75514d057d8819391abbb6cdd30fcca89cda0b852393d62059476f6e1 /image/bin/printenv
369d7b4d49b4d7710e284c4d0713c7abdfa01ee5e0239f8e8be6c7cc521a5723 /image/bin/printf
2bc17d7bdfc3a855be1e1c82089809e1339aa8a09701b2d8fe0d33219336d905 /image/bin/ptx
@ -75,7 +75,7 @@ b0ee23e6205993d8c148641f40e71a0d532454b60ce4af81ee31ed9efa0b6c2c /image/bin/sha
e5121aee699f38aaffd1f13396cc511d0cbdf2ce6f99cd2a383ab44b13ac560f /image/bin/shred
62a7ca82d151ca73d4bca464bd89c1fe32caa5aaa6f0bd22ac43ae304b9cd074 /image/bin/shuf
60788da914956ef6308bb48fe98ea0bb6b993c4cffa99bd23bc901252a688105 /image/bin/sleep
16ce2fe78a9f32c5eb41c507a0ca7b5e8e8fd1a70c00c911317d9e6a1f59262a /image/bin/sort
f16532ea0aebadfa626ed21c759f5429c0f3f86ad1c6d4390e957154784a34a0 /image/bin/sort
8bf2bdb2ad64a52bd8c40cb5388de9420acd776e24eb9f41087fcbb5f88d2705 /image/bin/split
6f67d8777f310cb65ef069e95619f1baa7a577d64b4e56e9bf4da55c572da1be /image/bin/stat
614b2c0b19e34d3ba2cb093ec5723bff27c8ac0e7b3accf4de69168f93fdfca1 /image/bin/stdbuf
@ -99,9 +99,9 @@ ff52caff909a08bf23ad85acf30a5019b5569846cda014d64d30c0336b9758a6 /image/bin/tty
008ec49612fb884c43505fefbab0609c768d8169648df51b4411776a18089b41 /image/bin/unlink
7497fb11caa2bb7ce43d3673b5045baf5caecac9208366ec28620a3981669c55 /image/bin/uptime
fe64d199e3fdbda804a00d4f5ca988a90efc7afb41b7a53171d1c6406c724623 /image/bin/users
5da613c7860de85805d5fe13084e0d8aedbb8a300bad0d36fdac0afbca24f6f9 /image/bin/vdir
e57a3d39e4ae7ba093b5996676fa5c123a1f72eec4b615d18b5c184aa12166b3 /image/bin/vdir
aa143b5801454739d12007fc535651ab7ce76bbfba49018723f98b77e32b17da /image/bin/wc
4418606dfb0c770d7ba182f28761be07019678dc1e9b4e2eb02a62a6c2be60c3 /image/bin/who
56ce0dbe4150ccef579e042adf1a0970928a44e29d96bd36bb5a586eead3a2cf /image/bin/who
090e03584c0b9754c76ba23689321a8b114fdbeb3d158e15da4e700a78b33eed /image/bin/whoami
829c9904baeeb08f8f074223b7f0a8d7dfc375779cca0626a020c1323d4f7abb /image/bin/yes
02ae56360b3c7a21a83c0bffba077f82f851fbf08ac26e740779060bebb2e006 /image/libexec/coreutils/libstdbuf.so

View File

@ -32,9 +32,7 @@ src_configure() {
# error from configuration system of coreutils.
FORCE_UNSAFE_CONFIGURE=1 ./configure CFLAGS="-static" \
--prefix="${PREFIX}" \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-gnu
--build=i386-unknown-linux-musl
}
src_compile() {

View File

@ -7,7 +7,7 @@ src_prepare() {
autoreconf-2.61 -f
# Pre-build texinfo files
# Pre-built texinfo files
rm doc/find.info
}

View File

@ -1,13 +1,11 @@
74eb060067c4adaa8ca4ae8591d8dac91b07d123fa8a57330db67d279e943897 /image/bin/cpp
e576f4b4b31f78dbb2652ffe6806e4ec460c7029aa6a2db547a3f78ac27a71a1 /image/bin/gcc
e576f4b4b31f78dbb2652ffe6806e4ec460c7029aa6a2db547a3f78ac27a71a1 /image/bin/i386-unknown-linux-gnu-gcc
e576f4b4b31f78dbb2652ffe6806e4ec460c7029aa6a2db547a3f78ac27a71a1 /image/bin/i386-unknown-linux-gnu-gcc-4.0.4
9c7ea0bb48f23462ba56d27401cf10d71bc3e67980ada3a81a2838c57a56ebeb /image/libexec/gcc/i386-unknown-linux-gnu/4.0.4/cc1
74c4c8aa626a5924681cbf6fb2a41b69a8809f4220ab6f4bdb91389bccbc075f /image/libexec/gcc/i386-unknown-linux-gnu/4.0.4/collect2
de4566c661258fa626ea7076e6c57af95c01d0786bcdadb12af23852cc421a2a /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/crtbegin.o
c7eea5e845fe2ee5538704d59c6e777d4f72b7100e78d5f86f8d95d96ab2ec20 /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/crtbeginS.o
de4566c661258fa626ea7076e6c57af95c01d0786bcdadb12af23852cc421a2a /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/crtbeginT.o
342276a6ad25e3d064bba9c5d50fbeaae15d0aefdc5c72b1e796366189af1b1b /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/crtend.o
2bf001e0be96ea7c53adf35b1bf0a677eee02008e3aee6c30166d100b720687c /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/crtendS.o
309f29be0d8193574a6f83f5a2f2494261fb4d61af651760ae135e011a7ade89 /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/libgcc.a
0783eac6604619cbfeb35ee4d5b34b288d9ab3fd337b91ff1555d594e3e6ed54 /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/libgcov.a
6a823c735a93d933975311e49650c6b3f4747eba297b88243dbb0fcfd854a468 /image/bin/cpp
9d2c973a77b3d537608b874cd3ce4959b6e3ed6d8c68801fb988e440c3708632 /image/bin/gcc
51c2625cca2b5f3a5ff65d98c148ba2e1b713c678aa383588cf86fbd302ce0af /image/libexec/gcc/i386-unknown-linux-musl/4.0.4/cc1
74c4c8aa626a5924681cbf6fb2a41b69a8809f4220ab6f4bdb91389bccbc075f /image/libexec/gcc/i386-unknown-linux-musl/4.0.4/collect2
de4566c661258fa626ea7076e6c57af95c01d0786bcdadb12af23852cc421a2a /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbegin.o
c7eea5e845fe2ee5538704d59c6e777d4f72b7100e78d5f86f8d95d96ab2ec20 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbeginS.o
de4566c661258fa626ea7076e6c57af95c01d0786bcdadb12af23852cc421a2a /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbeginT.o
342276a6ad25e3d064bba9c5d50fbeaae15d0aefdc5c72b1e796366189af1b1b /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtend.o
2bf001e0be96ea7c53adf35b1bf0a677eee02008e3aee6c30166d100b720687c /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtendS.o
309f29be0d8193574a6f83f5a2f2494261fb4d61af651760ae135e011a7ade89 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/libgcc.a
0783eac6604619cbfeb35ee4d5b34b288d9ab3fd337b91ff1555d594e3e6ed54 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/libgcov.a

View File

@ -1,13 +1,11 @@
7af6be1532625869032ca6b179695b8efcd77be3bf6abb1cc19512fa01c9896f /image/bin/cpp
8d5cb8a8679b5863255ed67dbe056b3e02fbac4a8fc2026a0a5610ea299a542a /image/bin/gcc
8d5cb8a8679b5863255ed67dbe056b3e02fbac4a8fc2026a0a5610ea299a542a /image/bin/i386-unknown-linux-gnu-gcc
8d5cb8a8679b5863255ed67dbe056b3e02fbac4a8fc2026a0a5610ea299a542a /image/bin/i386-unknown-linux-gnu-gcc-4.0.4
bcfe7cf9b2bd94cba6b825af74092817c846d2bbe29cc5117d7f56e9d05143d7 /image/libexec/gcc/i386-unknown-linux-gnu/4.0.4/cc1
93ec879d4b2f5957b9964be2f6c8d486278c1959f9337d084c3ce840ba683dd5 /image/libexec/gcc/i386-unknown-linux-gnu/4.0.4/collect2
a07db1648128987f10debb1730b4456c0423aab5bd93d68e4f2b47447a11c5d9 /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/crtbegin.o
20a3bbbd5cd59b91660628d416d489437463b651fa15b5ea5f026b45c9e35b65 /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/crtbeginS.o
a07db1648128987f10debb1730b4456c0423aab5bd93d68e4f2b47447a11c5d9 /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/crtbeginT.o
342276a6ad25e3d064bba9c5d50fbeaae15d0aefdc5c72b1e796366189af1b1b /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/crtend.o
2bf001e0be96ea7c53adf35b1bf0a677eee02008e3aee6c30166d100b720687c /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/crtendS.o
2ed41b013573928bf7ce3cf594f0be0eb82cfb61c70cb2b317fe4e1c691a594f /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/libgcc.a
7ba9351278fe100c09dd7c8baad3dceca8a3f4c6d56541fd471b49ffb66ff887 /image/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/libgcov.a
524b38b725a747c2f438b642db2473613d77979b0300c9f3be719370a4b4512d /image/bin/cpp
ecd3d55e077c5a90ae7bc51343e85a5de1b6237de5ddcb2a6e0f05b04b1bf914 /image/bin/gcc
114fab68114a523a7dc3ff47702e6bcce0276590ffdad8dbb507af8b957f5934 /image/libexec/gcc/i386-unknown-linux-musl/4.0.4/cc1
93ec879d4b2f5957b9964be2f6c8d486278c1959f9337d084c3ce840ba683dd5 /image/libexec/gcc/i386-unknown-linux-musl/4.0.4/collect2
a07db1648128987f10debb1730b4456c0423aab5bd93d68e4f2b47447a11c5d9 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbegin.o
20a3bbbd5cd59b91660628d416d489437463b651fa15b5ea5f026b45c9e35b65 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbeginS.o
a07db1648128987f10debb1730b4456c0423aab5bd93d68e4f2b47447a11c5d9 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtbeginT.o
342276a6ad25e3d064bba9c5d50fbeaae15d0aefdc5c72b1e796366189af1b1b /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtend.o
2bf001e0be96ea7c53adf35b1bf0a677eee02008e3aee6c30166d100b720687c /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/crtendS.o
2ed41b013573928bf7ce3cf594f0be0eb82cfb61c70cb2b317fe4e1c691a594f /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/libgcc.a
7ba9351278fe100c09dd7c8baad3dceca8a3f4c6d56541fd471b49ffb66ff887 /image/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/libgcov.a

View File

@ -3,6 +3,11 @@
# SPDX-License-Identifier: GPL-3.0-or-later
src_unpack() {
default
tar xzf ${SOURCES}/automake-1.16.3/src/automake-1.16.3.tar.gz
}
src_prepare() {
default
# This is needed for building with TCC
@ -40,7 +45,7 @@ src_prepare() {
# Rebuild libtool files
rm config.guess config.sub ltmain.sh
libtoolize
cp "${PREFIX}/"/share/automake-1.9/config.sub .
cp ../automake-1.16.3/lib/config.sub .
# Rebuild bison files
# Workaround for bison being too new
@ -55,7 +60,7 @@ src_prepare() {
# Remove translation catalogs
find . -name '*.gmo' -delete
# Pre-build texinfo files
# Pre-built texinfo files
find . -name '*.info' -delete
}
@ -69,9 +74,9 @@ src_configure() {
CC=tcc CFLAGS="-D HAVE_ALLOCA_H" ../../$dir/configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}"/lib/musl \
--build=i386-unknown-linux-gnu \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-musl \
--target=i386-unknown-linux-musl \
--host=i386-unknown-linux-musl \
--disable-shared \
--program-transform-name=
cd ..
@ -83,7 +88,7 @@ src_configure() {
}
src_compile() {
ln -s . build/build-i386-unknown-linux-gnu
ln -s . build/build-i386-unknown-linux-musl
mkdir build/gcc/include
ln -s ../../../gcc/gsyslimits.h build/gcc/include/syslimits.h
for dir in libiberty libcpp gcc; do
@ -92,6 +97,6 @@ src_compile() {
}
src_install() {
mkdir -p "${PREFIX}/lib/musl/gcc/i386-unknown-linux-gnu/4.0.4/install-tools/include"
mkdir -p "${PREFIX}/lib/musl/gcc/i386-unknown-linux-musl/4.0.4/install-tools/include"
make -C build/gcc install STMP_FIXINC= DESTDIR="${DESTDIR}"
}

View File

@ -3,6 +3,11 @@
# SPDX-License-Identifier: GPL-3.0-or-later
src_unpack() {
default
tar xzf ${SOURCES}/automake-1.16.3/src/automake-1.16.3.tar.gz
}
src_prepare() {
default
@ -39,7 +44,7 @@ src_prepare() {
# Rebuild libtool files
rm config.guess config.sub ltmain.sh
libtoolize
cp "${PREFIX}/"/share/automake-1.9/config.sub .
cp ../automake-1.16.3/lib/config.sub .
# Rebuild bison files
# Workaround for bison being too new
@ -54,7 +59,7 @@ src_prepare() {
# Remove translation catalogs
find . -name '*.gmo' -delete
# Pre-build texinfo files
# Pre-built texinfo files
find . -name '*.info' -delete
}
@ -68,9 +73,9 @@ src_configure() {
../../$dir/configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}"/lib/musl \
--build=i386-unknown-linux-gnu \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-musl \
--target=i386-unknown-linux-musl \
--host=i386-unknown-linux-musl \
--disable-shared \
--program-transform-name=
cd ..
@ -79,7 +84,7 @@ src_configure() {
}
src_compile() {
ln -s . build/build-i386-unknown-linux-gnu
ln -s . build/build-i386-unknown-linux-musl
for dir in libiberty libcpp gcc; do
make -C build/$dir LIBGCC2_INCLUDES=-I"${PREFIX}/include" STMP_FIXINC=
done

25
sysa/gcc-4.7.4/checksums Normal file
View File

@ -0,0 +1,25 @@
8f4b1c859ad99f4ef17970dafb4c7b818a4e01744c4a1e7d632c09598bea737d /image/bin/cpp
4b522a12cdc654809e796e41062de1d48458626060ec0fac492f9a4757df38da /image/bin/gcc
8e7bde329795793d2d2f71c5d011376ab93a7673645ea44c0d9aee7e8bb9f058 /image/bin/gcc-ar
ede1d40ad93ab8daf788b1362ce1deb4946865398e991725487f25af66a42bed /image/bin/gcc-nm
d93e0b44788e1111073f9ced886e9b41b906075ddcdf73a1cf911cc72b1bcbde /image/bin/gcc-ranlib
1657ba8afdac845ddfa8842efa5e7bf3cfc9be23aa31f6265e3f43eead1316d4 /image/bin/gcov
77adc8cb0648cd8b3546254e7277d16a04b18fe643b889352717c361cc8a4309 /image/libexec/gcc/i386-unknown-linux-musl/4.7.4/cc1
a96e1cd5eff7904cfcd260e859a65bf38c45eafe3f81b7df537e0bb68543e856 /image/libexec/gcc/i386-unknown-linux-musl/4.7.4/collect2
4dd787d729d8d57434fb7cfaf2a7a42dfca2bdf665e6e5246fb56e4cee0f10fd /image/libexec/gcc/i386-unknown-linux-musl/4.7.4/lto-wrapper
b85d6aabe0ffa30cc2fa1f6a1c899256b4051086c566d9c75299c6b2f6cbd618 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtbegin.o
db6caa96b09785d820b2b5a6fc0e2c49dc1980a18b6a6472aa2ccdb5f38fef57 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtbeginS.o
b85d6aabe0ffa30cc2fa1f6a1c899256b4051086c566d9c75299c6b2f6cbd618 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtbeginT.o
42a533b816b6c060f4269a310112bde2e07329cb3c2fa5b21bbad6d2d03e90b5 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtend.o
e5059cb3aaec30653dfb2cbc09ee555218d276d6b49b1ddc05ba8c4d63e3edfb /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtendS.o
042ed2a9c7c8ea05291f79d30ad6f2bb61a9d1a58494ee835e1cb5473b5b5b4b /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtfastmath.o
135b6793737d181031ac9042fd42c38f7c627468447f9c90f687156968282c6f /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtprec32.o
67ea5a6dc10582c4b4c3f53763c7408874c625e054dc4f7137206a1c927bc0b5 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtprec64.o
412c06a772f2bceaef31514685c7634358b9d7a5e01b30c3b1aef2dd24ad68f9 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/crtprec80.o
65082b00fb62e18e816e99a533835a5025794907b8f4d8b5075d3a607249ab08 /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/libgcc.a
af7c0180e5f5854947414ff8f4dac6dcc8b853cb56e592be367760fd4869829d /image/lib/musl/gcc/i386-unknown-linux-musl/4.7.4/libgcov.a
f0b8f0639b0d596a6028b2eb4f1b738d2ef41243a652083bbb59ade32d0e5a7f /image/lib/musl/libstdc++.a
9ed64bd654c3a9be96e4d60637a9e65183cd94c32f946d5a88370ee9228f280a /image/lib/musl/libstdc++.a-gdb.py
b82cbc46d5977ba01330dc2091656f13df5391a14afcecc729269ceab7fa7706 /image/lib/musl/libstdc++.la
f209ea28cf192f18817724f462402d5d7c307ed2c5256ffe462e93478b751d4d /image/lib/musl/libsupc++.a
963b895bf80dccc967cde0a03e9de439cad6f25fd912e0e7765cd2924768a5ac /image/lib/musl/libsupc++.la

127
sysa/gcc-4.7.4/gcc-4.7.4.sh Executable file
View File

@ -0,0 +1,127 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
# Generated using gperf
rm gcc/cp/cfns.h
# Regenerating top level Makefile requires GNU Autogen and hence Guile,
# but it is not essential for building gcc.
rm configure Makefile.in fixincludes/fixincl.x
# Regenerate aclocal.m4 files
# grep "generated automatically by aclocal" */aclocal.m4 -l | sed -e 's#/aclocal.m4##' | tr "\n" " " | sed -e 's/ $/\n/'
for dir in intl libcpp libdecnumber; do
cd $dir
rm aclocal.m4
AUTOCONF=autoconf-2.64 AUTOM4TE=autom4te-2.64 aclocal-1.11 --acdir=../config
cd ..
done
cd gcc
rm aclocal.m4
AUTOCONF=autoconf-2.64 AUTOM4TE=autom4te-2.64 aclocal-1.11 --acdir=../config
cd ..
cd fixincludes
rm aclocal.m4
AUTOCONF=autoconf-2.64 AUTOM4TE=autom4te-2.64 aclocal-1.11 --acdir=../gcc
cd ..
for dir in boehm-gc libffi libgfortran libgo libgomp libitm libjava libmudflap libobjc libquadmath libssp lto-plugin zlib; do
cd $dir
rm aclocal.m4
AUTOCONF=autoconf-2.64 AUTOM4TE=autom4te-2.64 aclocal-1.11
cd ..
done
cd libstdc++-v3
ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 AUTOCONF=autoconf-2.64 AUTOM4TE=autom4te-2.64 autoreconf-2.64 -fi
cd ..
# Regenerate configure scripts
# Find all folders with configure script and rebuild them. At the moment we exclude boehm-gc folder due to
# an error but we don't use that directory anyway (it's only needed for Objective C)
for dir in $(ls */configure | sed 's#/configure##' | tr "\n" " " | sed -e 's/ $/\n/' -e 's/^boehm-gc //'); do
cd $dir
rm configure
autoconf-2.64 || autoconf-2.64
cd ..
done
# Regenerate Makefile.in
# Find all folders with Makefile.am and rebuild them. At the moment we exclude boehm-gc folder.
for dir in $(ls */Makefile.am | sed 's#/Makefile.am##' | tr "\n" " " | sed -e 's/ $/\n/' -e 's/^boehm-gc //'); do
cd $dir
rm Makefile.in
AUTOCONF=autoconf-2.64 AUTOM4TE=autom4te-2.64 automake-1.11
cd ..
done
for dir in libdecnumber libcpp libiberty gcc; do
cd $dir
rm -f config.in
autoheader-2.64
cd ..
done
# Rebuild libtool files
rm config.guess config.sub ltmain.sh
libtoolize
cp "${PREFIX}/"/share/automake-1.15/config.sub .
# Workaround for bison being too new
rm intl/plural.c
# Rebuild flex generated files
rm gcc/gengtype-lex.c
# Remove translation catalogs
find . -name '*.gmo' -delete
# Pre-built texinfo files
find . -name '*.info' -delete
}
src_configure() {
mkdir build
cd build
for dir in libiberty libcpp libdecnumber gcc libgcc libstdc++-v3; do
mkdir $dir
cd $dir
../../$dir/configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}"/lib/musl \
--build=i386-unknown-linux-musl \
--target=i386-unknown-linux-musl \
--host=i386-unknown-linux-musl \
--disable-shared \
--program-transform-name= \
--enable-languages=c,c++ \
--disable-sjlj-exceptions
cd ..
done
cd ..
}
src_compile() {
ln -s . build/build-i386-unknown-linux-musl
for dir in libiberty libcpp libdecnumber gcc; do
# We have makeinfo now but it is not happy with gcc .info files, so skip it
make -C build/$dir LIBGCC2_INCLUDES=-I"${PREFIX}/include" \
STMP_FIXINC= GMPLIBS="-lmpc -lmpfr -lgmp" MAKEINFO=true
done
# host_subdir is necessary because we have slightly different build directory layout
make -C build/libgcc PATH="${PATH}:../gcc" CC=../gcc/xgcc \
host_subdir=build CFLAGS="-I../gcc/include -I/${PREFIX}/include"
make -C build/libstdc++-v3 PATH="${PATH}:${PWD}/build/gcc" \
CXXFLAGS="-I${PWD}/build/gcc/include -I ${PREFIX}/include"
}
src_install() {
make -C build/gcc install STMP_FIXINC= DESTDIR="${DESTDIR}" MAKEINFO=true
make -C build/libgcc install DESTDIR="${DESTDIR}" host_subdir=build
make -C build/libstdc++-v3 install DESTDIR="${DESTDIR}"
}

View File

@ -0,0 +1,17 @@
SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
SPDX-License-Identifier: GPL-3.0-or-later
Add support for *-linux-musl triplet.
--- libstdc++-v3/configure.host 2021-07-07 10:00:23.934848223 +0100
+++ libstdc++-v3/configure.host 2021-07-07 10:00:36.295195348 +0100
@@ -242,6 +242,9 @@
freebsd*)
os_include_dir="os/bsd/freebsd"
;;
+ linux-musl*)
+ os_include_dir="os/generic"
+ ;;
gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
if [ "$uclibc" = "yes" ]; then
os_include_dir="os/uclibc"

View File

@ -0,0 +1,36 @@
SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
SPDX-License-Identifier: GPL-3.0-or-later
Remove dependency on gperf.
--- gcc/cp/except.c 2021-07-07 18:24:36.561530121 +0100
+++ gcc/cp/except.c 2021-07-07 18:27:18.035681929 +0100
@@ -987,8 +987,6 @@
exception, unless it calls a program-supplied function that
throws an exception. */
-#include "cfns.h"
-
int
nothrow_libfn_p (const_tree fn)
{
@@ -1007,7 +1005,7 @@
unless the system headers are playing rename tricks, and if
they are, we don't want to be confused by them. */
id = DECL_NAME (fn);
- return !!libc_name_p (IDENTIFIER_POINTER (id), IDENTIFIER_LENGTH (id));
+ return 0;
}
/* Returns nonzero if an exception of type FROM will be caught by a
--- gcc/cp/Make-lang.in 2021-07-07 18:24:36.571530380 +0100
+++ gcc/cp/Make-lang.in 2021-07-07 18:26:47.154887799 +0100
@@ -313,7 +313,7 @@
cp/rtti.o: cp/rtti.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) convert.h \
$(TARGET_H) $(C_PRAGMA_H) gt-cp-rtti.h intl.h
cp/except.o: cp/except.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) \
- cp/cfns.h $(TREE_INLINE_H) $(TARGET_H) gt-cp-except.h
+ $(TREE_INLINE_H) $(TARGET_H) gt-cp-except.h
cp/expr.o: cp/expr.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) $(TM_P_H)
cp/pt.o: cp/pt.c $(CXX_TREE_H) $(TM_H) cp/decl.h cp/cp-objcp-common.h \
toplev.h $(TREE_INLINE_H) pointer-set.h gt-cp-pt.h vecprim.h intl.h \

View File

@ -1,3 +1,2 @@
bfaced23588bc183f34364896cdfbf63cf63418f577a7cd1b2964753445621a7 /image/lib/musl/libgmp.a
98f66015b6199dceefce41ff46337e41db52d82d01d0d0b91ca2a382ce5c9ee2 /image/lib/musl/libgmp.la
89c9be645cd64ed5ed835460ad6305c945227c8e53f631dde96808d5cba3e4b7 /image/lib/musl/libgmp.so.10.4.1
67d949b017000c7493a8822e98d6ddbd88ca839509e4a1fbfa3997c86641b89e /image/lib/musl/libgmp.la

View File

@ -10,17 +10,16 @@ src_prepare() {
autoreconf -f -i
# Pre-build texinfo files
# Pre-built texinfo files
find . -name '*.info*' -delete
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--build=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--target=i386-unknown-linux-gnu \
--libdir="${PREFIX}/lib/musl"
--libdir="${PREFIX}/lib/musl" \
--build=i386-unknown-linux-musl \
--disable-shared
}
src_compile() {

1
sysa/gperf-3.1/checksums Normal file
View File

@ -0,0 +1 @@
1f2a11dd9afd812a40ab44e5297ef375daddeda589c79d08be65958430c4ef82 /image/bin/gperf

19
sysa/gperf-3.1/gperf-3.1.sh Executable file
View File

@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
find . -name '*.info*' -delete
for d in doc tests lib src; do
cd $d
ln -s ../aclocal.m4 aclocal.m4
autoreconf-2.69 -fi
cd ..
done
autoreconf-2.69 -fi
}
src_configure() {
./configure --prefix="${PREFIX}"
}

View File

@ -1,2 +1,2 @@
41a415de1416cb8d8f325c5b4668ea080e6426f5700daa725268835f47714f9b /image/lib/musl/libunistring.a
b7681405b71f47d605fe5d17aeb26425b5f3269d11fc95e72a281d90934bec48 /image/lib/musl/libunistring.a
92fdc350d4141210cf1d01d271dd5a564ff6b4337b4de2f1f135a91a6541e0c2 /image/lib/musl/libunistring.la

View File

@ -7,7 +7,7 @@ src_prepare() {
# libunistring does not specify which gnulib snapshot was used,
# pick a random one that works
GNULIB_TOOL=../gnulib-52a06cb3a849df0bbce38b69dd7ae58cc1de5f68/gnulib-tool ./autogen.sh
GNULIB_TOOL=../gnulib-52a06cb3/gnulib-tool ./autogen.sh
# autogen.sh does not regenerate libtool files
autoreconf-2.69 -fi
@ -16,9 +16,6 @@ src_prepare() {
src_configure() {
./configure \
--prefix="${PREFIX}" \
--build=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--target=i386-unknown-linux-gnu \
--libdir="${PREFIX}/lib/musl" \
--disable-shared
}

View File

@ -1 +1 @@
31c7dfc9bf0a5e52a689b06e693c38cab47290b3499558846d6b3a8a3b4a4bcb /image/bin/make
8e3fc015b7602179a6c6473c69fdcff4102dd392d612bd6a18640dd434ad6da5 /image/bin/make

View File

@ -15,9 +15,7 @@ src_prepare() {
src_configure() {
./configure \
--prefix="${PREFIX}" \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-gnu \
--build=i386-unknown-linux-musl \
--disable-nls
}

View File

@ -1,3 +1,2 @@
c2c288f7a58cb409b253ff9288e09e11c998722ff34f2308083bad868cdcaf26 /image/lib/musl/libmpc.a
193c4cf258c8c2eea8ab87d12c441cfe8b51a44d5e81519f190f8ce9f67a035d /image/lib/musl/libmpc.la
b2b8e91b72368570ed5b2fb0dd7ff516173ee893437c73fa648bb8d79ff6f52e /image/lib/musl/libmpc.so.3.2.1
dba4cd3949a9212090ddcc3ebdcdb60824b3d356d52fd93d2c21bfa42c6fed71 /image/lib/musl/libmpc.la

View File

@ -13,9 +13,7 @@ src_configure() {
./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-gnu
--disable-shared
}
src_compile() {

View File

@ -1,3 +1,2 @@
c37eb935fe06afa7467369ac16d83b39d55f83aa01a53e15f5b8b1595dce298f /image/lib/musl/libmpfr.a
6fc2e9a148554acd7c96e3d25bac5da6f2f2fe6bb20f626d26265a5efe7d0a22 /image/lib/musl/libmpfr.la
9866e9a47fe3f2c53120792fd0abefee147339e07b86c2414a686b403ccc82b4 /image/lib/musl/libmpfr.so.6.1.0
225354a11b48c143c564393525ad1202d28ab40a83fb1a27964e731c2373c9de /image/lib/musl/libmpfr.la

View File

@ -13,9 +13,7 @@ src_configure() {
./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-gnu
--disable-shared
# Disable tuning as that might cause non-reproducible build
mv mparam.h src

View File

@ -4,7 +4,7 @@
src_configure() {
CC=gcc ./configure \
--host=i386-unknown-linux-gnu \
--host=i386-unknown-linux-musl \
--disable-shared \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \

View File

@ -11,6 +11,6 @@ src_configure() {
# pkg-config and other software (python/meson) that we do not have.
./configure \
--prefix="${PREFIX}" \
--build=i386-unknown-linux-gnu \
--build=i386-unknown-linux-musl \
--with-internal-glib
}

View File

@ -139,7 +139,7 @@ build libtool-2.2.4
build automake-1.10.3
build autoconf-2.65
build autoconf-2.64
build gcc-4.0.4 pass1.sh checksums/pass1

View File

@ -58,6 +58,12 @@ build gettext-0.21
build texinfo-6.7
build zlib-1.2.11
build gcc-4.7.4
build gperf-3.1
build libunistring-0.9.10
if [ "$FORCE_TIMESTAMPS" = True ] ; then

View File

@ -17,10 +17,7 @@ src_prepare() {
src_configure() {
FORCE_UNSAFE_CONFIGURE=1 ./configure \
--prefix="${PREFIX}" \
--disable-nls \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-gnu
--disable-nls
}
src_compile() {

View File

@ -5,15 +5,13 @@
src_prepare() {
default
autoreconf-2.65 -f
autoreconf-2.64 -f
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--disable-shared \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-gnu \
--build=i386-unknown-linux-musl \
--libdir="${PREFIX}/lib/musl"
}

View File

@ -0,0 +1 @@
8e8255b1f90615cbb69f45697edcfd17dae492e090ca31c9d5390cb2d076e1b4 /image/lib/musl/libz.a

View File

@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_configure() {
./configure --prefix="${PREFIX}" --libdir="${PREFIX}/lib/musl" --static
}