mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
gem5: x86_64 gcc 7 compilation was fixed after latest pull
So get rid of the specific gcc-6 and gcc-6 install.
This commit is contained in:
@@ -27,7 +27,7 @@ disks_dir="${system_dir}/disks"
|
||||
mkdir -p "$binaries_dir" "$disks_dir"
|
||||
cd "${top}/gem5"
|
||||
if [ "$arch" = x86_64 ]; then
|
||||
CC=gcc-6 CXX=g++-6 scons -j "$j" --ignore-style build/X86/gem5.opt
|
||||
scons -j "$j" --ignore-style build/X86/gem5.opt
|
||||
f="${disks_dir}/linux-bigswap2.img"
|
||||
dd if=/dev/zero of="$f" bs=1024 count=65536
|
||||
mkswap "$f"
|
||||
@@ -35,8 +35,6 @@ if [ "$arch" = x86_64 ]; then
|
||||
# I'm not even joking. No one has ever built x86 gem5 without the magic dist dir present.
|
||||
touch "${binaries_dir}/x86_64-vmlinux-2.6.22.9"
|
||||
elif [ "$arch" = arm ] || [ "$arch" = aarch64 ]; then
|
||||
# Compilation fails with gcc 7 on that commit.
|
||||
# There were some recent portability patches, so it will likely get there soon.
|
||||
scons -j "$j" --ignore-style build/ARM/gem5.opt
|
||||
make -C ./system/arm/dt/
|
||||
# TODO use the buildroot cross compiler here, and remove the dependencies from configure.
|
||||
|
||||
Reference in New Issue
Block a user