[gem5-dev] Re: Error in Building gem5

2020-09-12 Thread Gabe Black via gem5-dev
I have a very similar setup and have been fixing problems like this
recently. It's probably just because gcc version 10.2 has new warnings
which are triggering and turning into errors because of -Werror. The
version of python should have nothing to do with it. I must just have not
tried a build with Ruby since I haven't run into those warnings myself. In
the mean time, you can try using clang and clang++ to see if those work
better. I've been fixing these problems on the develop branch, so it's
possible you're seeing some errors which have already been fixed if you're
using the master branch.

scons CC=clang CXX=clang++ build/X86/gem5.opt

On Sat, Sep 12, 2020 at 1:53 PM Abhinav Sukumar Rao via gem5-dev <
gem5-dev@gem5.org> wrote:

> Platform: Arch linux
> Python version: 3.8
> gcc version: 10.2.0
>
> Upon running the build for gem5, I can't seem to get it to work. A warning
> is being treated as an an error:
> https://pastebin.com/0R0UK0aF
>
> Upon downloading python2 and using that:
> https://pastebin.com/qHM1dpHY
>
> Creating a virtual environment and using python2.7 doesn't seem to work
> either:
> https://pastebin.com/CP3EJMsF
>
> Is there any workaround or a way to fix this?
>
> *Regards*
>
> *Abhinav Sukumar Rao*
> ___
> gem5-dev mailing list -- gem5-dev@gem5.org
> To unsubscribe send an email to gem5-dev-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-dev] Error in Building gem5

2020-09-12 Thread Abhinav Sukumar Rao via gem5-dev
Platform: Arch linux
Python version: 3.8
gcc version: 10.2.0

Upon running the build for gem5, I can't seem to get it to work. A warning
is being treated as an an error:
https://pastebin.com/0R0UK0aF

Upon downloading python2 and using that:
https://pastebin.com/qHM1dpHY

Creating a virtual environment and using python2.7 doesn't seem to work
either:
https://pastebin.com/CP3EJMsF

Is there any workaround or a way to fix this?

*Regards*

*Abhinav Sukumar Rao*
___
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-dev] Build failed in Jenkins: Nightly #66

2020-09-12 Thread jenkins-no-reply--- via gem5-dev
See 

Changes:


--
[...truncated 60.38 KB...]
[   OK ] TrieTestData.Empty (0 ms)
[ RUN  ] TrieTestData.SingleEntry
[   OK ] TrieTestData.SingleEntry (0 ms)
[ RUN  ] TrieTestData.TwoOverlappingEntries
[   OK ] TrieTestData.TwoOverlappingEntries (0 ms)
[ RUN  ] TrieTestData.TwoOverlappingEntriesReversed
[   OK ] TrieTestData.TwoOverlappingEntriesReversed (0 ms)
[ RUN  ] TrieTestData.TwoIndependentEntries
[   OK ] TrieTestData.TwoIndependentEntries (0 ms)
[ RUN  ] TrieTestData.TwoEntries
[   OK ] TrieTestData.TwoEntries (0 ms)
[ RUN  ] TrieTestData.RemovingEntries
[   OK ] TrieTestData.RemovingEntries (0 ms)
[--] 7 tests from TrieTestData (0 ms total)

[--] Global test environment tear-down
[==] 7 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 7 tests.
Running main() from gtest_main.cc
[==] Running 19 tests from 3 test cases.
[--] Global test environment set-up.
[--] 10 tests from CyclesTest
[ RUN  ] CyclesTest.NoCycles
[   OK ] CyclesTest.NoCycles (0 ms)
[ RUN  ] CyclesTest.PrefixIncrement
[   OK ] CyclesTest.PrefixIncrement (0 ms)
[ RUN  ] CyclesTest.PrefixDecrement
[   OK ] CyclesTest.PrefixDecrement (0 ms)
[ RUN  ] CyclesTest.InPlaceAddition
[   OK ] CyclesTest.InPlaceAddition (0 ms)
[ RUN  ] CyclesTest.GreaterThanLessThan
[   OK ] CyclesTest.GreaterThanLessThan (0 ms)
[ RUN  ] CyclesTest.AddCycles
[   OK ] CyclesTest.AddCycles (0 ms)
[ RUN  ] CyclesTest.SubtractCycles
[   OK ] CyclesTest.SubtractCycles (0 ms)
[ RUN  ] CyclesTest.ShiftRight
[   OK ] CyclesTest.ShiftRight (0 ms)
[ RUN  ] CyclesTest.ShiftLeft
[   OK ] CyclesTest.ShiftLeft (0 ms)
[ RUN  ] CyclesTest.OutStream
[   OK ] CyclesTest.OutStream (0 ms)
[--] 10 tests from CyclesTest (0 ms total)

[--] 5 tests from MicroPCTest
[ RUN  ] MicroPCTest.CheckMicroPCRomBit
[   OK ] MicroPCTest.CheckMicroPCRomBit (0 ms)
[ RUN  ] MicroPCTest.RomMicroPCTest
[   OK ] MicroPCTest.RomMicroPCTest (0 ms)
[ RUN  ] MicroPCTest.NormalMicroPCTest
[   OK ] MicroPCTest.NormalMicroPCTest (0 ms)
[ RUN  ] MicroPCTest.IsRomMicroPCTest
[   OK ] MicroPCTest.IsRomMicroPCTest (0 ms)
[ RUN  ] MicroPCTest.IsNotRomMicroPCTest
[   OK ] MicroPCTest.IsNotRomMicroPCTest (0 ms)
[--] 5 tests from MicroPCTest (0 ms total)

[--] 4 tests from TypesTest
[ RUN  ] TypesTest.FloatToBits32
[   OK ] TypesTest.FloatToBits32 (0 ms)
[ RUN  ] TypesTest.floatToBits64
[   OK ] TypesTest.floatToBits64 (0 ms)
[ RUN  ] TypesTest.floatsToBitsDoubleInput
[   OK ] TypesTest.floatsToBitsDoubleInput (0 ms)
[ RUN  ] TypesTest.floatsToBitsFloatInput
[   OK ] TypesTest.floatsToBitsFloatInput (0 ms)
[--] 4 tests from TypesTest (0 ms total)

[--] Global test environment tear-down
[==] 19 tests from 3 test cases ran. (0 ms total)
[  PASSED  ] 19 tests.
Running main() from gtest_main.cc
[==] Running 8 tests from 1 test case.
[--] Global test environment set-up.
[--] 8 tests from ByteswapTest
[ RUN  ] ByteswapTest.swap_byte64
[   OK ] ByteswapTest.swap_byte64 (0 ms)
[ RUN  ] ByteswapTest.swap_byte32
[   OK ] ByteswapTest.swap_byte32 (0 ms)
[ RUN  ] ByteswapTest.swap_byte16
[   OK ] ByteswapTest.swap_byte16 (0 ms)
[ RUN  ] ByteswapTest.swap_byte
[   OK ] ByteswapTest.swap_byte (0 ms)
[ RUN  ] ByteswapTest.htog
[   OK ] ByteswapTest.htog (0 ms)
[ RUN  ] ByteswapTest.gtoh
[   OK ] ByteswapTest.gtoh (0 ms)
[ RUN  ] ByteswapTest.betole
[   OK ] ByteswapTest.betole (0 ms)
[ RUN  ] ByteswapTest.letobe
[   OK ] ByteswapTest.letobe (0 ms)
[--] 8 tests from ByteswapTest (0 ms total)

[--] Global test environment tear-down
[==] 8 tests from 1 test case ran. (0 ms total)
[  PASSED  ] 8 tests.
build/NULL/sim/guest_abi.test.opt 
--gtest_output=xml:build/NULL/unittests.opt/sim/guest_abi.test.xml
build/NULL/sim/proxy_ptr.test.opt 
--gtest_output=xml:build/NULL/unittests.opt/sim/proxy_ptr.test.xml
Running main() from gtest_main.cc
[==] Running 7 tests from 1 test case.
[--] Global test environment set-up.
[--] 7 tests from GuestABI
[ RUN  ] GuestABI.ABI_1D_args
[   OK ] GuestABI.ABI_1D_args (0 ms)
[ RUN  ] GuestABI.ABI_Prepare
[   OK ] GuestABI.ABI_Prepare (0 ms)
[ RUN  ] GuestABI.ABI_2D_args
[   OK ] GuestABI.ABI_2D_args (0 ms)
[ RUN  ] GuestABI.ABI_TC_init
[   OK ] GuestABI.ABI_TC_init (0 ms)
[ RUN  ] GuestABI.ABI_returns
[   OK ] GuestABI.ABI_returns (0 ms)
[ RUN  ] GuestABI.dumpSimcall
[   OK ] GuestABI.dumpSimcall (0 ms)
[ RUN  ] GuestABI.isVarArgs
[   OK ] GuestABI.isVarArgs (0 ms)
[--] 7 tests from GuestABI (0 ms total)