Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdk: update to gcc 9.2 #628

Merged
merged 3 commits into from
Jan 7, 2020
Merged

sdk: update to gcc 9.2 #628

merged 3 commits into from
Jan 7, 2020

Conversation

bcressey
Copy link
Contributor

@bcressey bcressey commented Jan 6, 2020

Issue #, if available:
N/A

Description of changes:
The prior method of specifying the GCC version did not work. Now it does.

I also cleaned up ARG usage to fix the build on Docker 18.09, and changed the versioning scheme to match that of the admin and control containers.

Testing done:
Built x86_64 and aarch64 images with the updated SDK and tested them inside local VMs.

$ x86_64-thar-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=x86_64-thar-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-thar-linux-gnu/9/lto-wrapper
Target: x86_64-thar-linux-gnu
Configured with: ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc --enable-static --disable-libcc1 --with-sysroot=/x86_64-thar-linux-gnu/sys-root --with-build-sysroot=/home/builder/buildroot/output/x86_64-gnu/host/x86_64-thar-linux-gnu/sys-root --with-gcc-major-version-only --enable-default-pie --enable-default-ssp --target=x86_64-thar-linux-gnu --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-linker-build-id --with-gmp=/home/builder/buildroot/output/x86_64-gnu/host --with-mpc=/home/builder/buildroot/output/x86_64-gnu/host --with-mpfr=/home/builder/buildroot/output/x86_64-gnu/host --with-pkgversion='Buildroot 2019.08.3' --with-bugurl=http://bugs.buildroot.net/ --enable-libquadmath --enable-tls --enable-plugins --enable-lto --enable-threads --with-isl=/home/builder/buildroot/output/x86_64-gnu/host --with-arch=nocona --enable-languages=c,c++ --with-build-time-tools=/home/builder/buildroot/output/x86_64-gnu/host/x86_64-thar-linux-gnu/bin --enable-shared=libgcc --disable-libgomp
Thread model: posix
gcc version 9.2.0 (Buildroot 2019.08.3) 

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
Align the versioning scheme with our other first-party containers.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
Signed-off-by: Ben Cressey <bcressey@amazon.com>
@bcressey bcressey merged commit 74bacfa into develop Jan 7, 2020
@iliana iliana deleted the sdk-gcc92 branch January 7, 2020 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants