@@ -605,34 +605,34 @@ elif [[ "$__CodeName" == "illumos" ]]; then
605
605
fi
606
606
echo " Building binutils. Please wait.."
607
607
if [[ " $__hasWget " == 1 ]]; then
608
- wget -O- https://ftp.gnu.org/gnu/binutils/binutils-2.33.1. tar.bz2 | tar -xjf -
608
+ wget -O- https://ftp.gnu.org/gnu/binutils/binutils-2.42. tar.xz | tar -xJf -
609<
10000
/code>
609
else
610
- curl -SL https://ftp.gnu.org/gnu/binutils/binutils-2.33.1. tar.bz2 | tar -xjf -
610
+ curl -SL https://ftp.gnu.org/gnu/binutils/binutils-2.42. tar.xz | tar -xJf -
611
611
fi
612
612
mkdir build-binutils && cd build-binutils
613
- ../binutils-2.33.1 /configure --prefix=" $__RootfsDir " --target=" ${__illumosArch} -sun-solaris2.10 " --program-prefix=" ${__illumosArch} -illumos-" --with-sysroot=" $__RootfsDir "
613
+ ../binutils-2.42 /configure --prefix=" $__RootfsDir " --target=" ${__illumosArch} -sun-solaris2.11 " --program-prefix=" ${__illumosArch} -illumos-" --with-sysroot=" $__RootfsDir "
614
614
make -j " $JOBS " && make install && cd ..
615
615
echo " Building gcc. Please wait.."
616
616
if [[ " $__hasWget " == 1 ]]; then
617
- wget -O- https://ftp.gnu.org/gnu/gcc/gcc-8.4 .0/gcc-8.4 .0.tar.xz | tar -xJf -
617
+ wget -O- https://ftp.gnu.org/gnu/gcc/gcc-13.3 .0/gcc-13.3 .0.tar.xz | tar -xJf -
618
618
else
619
- curl -SL https://ftp.gnu.org/gnu/gcc/gcc-8.4 .0/gcc-8.4 .0.tar.xz | tar -xJf -
619
+ curl -SL https://ftp.gnu.org/gnu/gcc/gcc-13.3 .0/gcc-13.3 .0.tar.xz | tar -xJf -
620
620
fi
621
621
CFLAGS=" -fPIC"
622
622
CXXFLAGS=" -fPIC"
623
623
CXXFLAGS_FOR_TARGET=" -fPIC"
624
624
CFLAGS_FOR_TARGET=" -fPIC"
625
625
export CFLAGS CXXFLAGS CXXFLAGS_FOR_TARGET CFLAGS_FOR_TARGET
626
626
mkdir build-gcc && cd build-gcc
627
- ../gcc-8.4 .0/configure --prefix=" $__RootfsDir " --target=" ${__illumosArch} -sun-solaris2.10 " --program-prefix=" ${__illumosArch} -illumos-" --with-sysroot=" $__RootfsDir " --with-gnu-as \
627
+ ../gcc-13.3 .0/configure --prefix=" $__RootfsDir " --target=" ${__illumosArch} -sun-solaris2.11 " --program-prefix=" ${__illumosArch} -illumos-" --with-sysroot=" $__RootfsDir " --with-gnu-as \
628
628
--with-gnu-ld --disable-nls --disable-libgomp --disable-libquadmath --disable-libssp --disable-libvtv --disable-libcilkrts --disable-libada --disable-libsanitizer \
629
629
--disable-libquadmath-support --disable-shared --enable-tls
630
630
make -j " $JOBS " && make install && cd ..
631
631
BaseUrl=https://pkgsrc.smartos.org
632
632
if [[ " $__UseMirror " == 1 ]]; then
633
633
BaseUrl=https://pkgsrc.smartos.skylime.net
634
634
fi
635
- BaseUrl=" $BaseUrl /packages/SmartOS/trunk /${__illumosArch} /All"
635
+ BaseUrl=" $BaseUrl /packages/SmartOS/2019Q4 /${__illumosArch} /All"
636
636
echo " Downloading manifest"
637
637
if [[ " $__hasWget " == 1 ]]; then
638
638
wget " $BaseUrl "
0 commit comments