Commit 73934a5a authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

Rename x86_64-freebsd -> x86_64-freebsd10

And update binutils and gcc
parent 7aebd67e
Pipeline #6951 failed with stage
in 16 minutes and 23 seconds
......@@ -68,10 +68,10 @@ build-i386-linux-deb9:
- docker
- x86_64-linux
build-x86_64-freebsd:
build-x86_64-freebsd10:
extends: .build
variables:
IMAGE: x86_64-freebsd
IMAGE: x86_64-freebsd10
tags:
- docker
- x86_64-linux
......
......@@ -3,8 +3,8 @@
set -ex
ARCH=$1
BINUTILS=2.25.1
GCC=6.4.0
BINUTILS=2.31.1
GCC=9.1.0
FREEBSD=11.2-RELEASE
mkdir binutils
......@@ -15,7 +15,7 @@ curl https://ftp.gnu.org/gnu/binutils/binutils-$BINUTILS.tar.bz2 | tar xjf -
mkdir binutils-build
cd binutils-build
../binutils-$BINUTILS/configure --target=$ARCH-unknown-freebsd10
../binutils-$BINUTILS/configure --target=$ARCH-unknown-freebsd11
make -j$(nproc)
make install
cd ..
......@@ -36,7 +36,7 @@ esac
URL=https://download.freebsd.org/ftp/releases/$FREEBSD_ARCH/$FREEBSD/base.txz
curl $URL | tar xJf - -C freebsd ./usr/include ./usr/lib ./lib
dst=/usr/local/$ARCH-unknown-freebsd10
dst=/usr/local/$ARCH-unknown-freebsd11
cp -r freebsd/usr/include $dst/
cp freebsd/usr/lib/crt1.o $dst/lib
......@@ -83,7 +83,7 @@ mkdir ../gcc-build
cd ../gcc-build
../gcc-$GCC/configure \
--enable-languages=c \
--target=$ARCH-unknown-freebsd10 \
--target=$ARCH-unknown-freebsd11 \
--disable-nls \
--disable-libgomp \
--disable-libquadmath \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment