mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
gem5: don't use gold linker on debug builds because it breaks debugging
This commit is contained in:
@@ -125,7 +125,12 @@ https://github.com/cirosantilli/linux-kernel-module-cheat-regression#gem5-unit-t
|
||||
gold_linker_cmd = []
|
||||
else:
|
||||
extra_env = {}
|
||||
gold_linker_cmd = ['--gold-linker', LF,]
|
||||
if self.env['gem5_build_type'] == 'debug':
|
||||
# A debug build is pointless if I can't... debug!
|
||||
# https://github.com/cirosantilli/linux-kernel-module-cheat/issues/109
|
||||
gold_linker_cmd = []
|
||||
else:
|
||||
gold_linker_cmd = ['--gold-linker', LF]
|
||||
exit_status = self.sh.run_cmd(
|
||||
(
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user