I think this is from my change which switched from "if env['TARGET_ISA'] == 'foo'" to using tags. I saw this a while ago, but I've been up literally all night trying to fix problem after problem rebasing my changes on top of ToT, and I haven't had a chance to look at it yet. When I finally get some sleep, I'm going to have to finish a presentation I have to give tomorrow/today, and so may not have a chance to look at it until later in the day.
Probably that unit test just needs an 'arm isa' tag so that it doesn't get pulled into NULL, the black sheep of the ISAs. Gabe On Wed, Oct 20, 2021 at 7:44 AM Jason Lowe-Power <[email protected]> wrote: > Hey Gabe, > > It looks like either the debug flag changes or the changes to scons caused > the build error. > > *00:53:31* [ CXX] NULL/arch/arm/aapcs64.test.cc -> .to*00:53:31* In file > included from build/NULL/cpu/static_inst.hh:54,*00:53:32* > from build/NULL/arch/arm/utility.hh:52,*00:53:32* from > build/NULL/arch/arm/aapcs64.hh:37,*00:53:32* from > build/NULL/arch/arm/aapcs64.test.cc:30:*00:53:32* > build/NULL/cpu/op_class.hh:44:10: fatal error: enums/OpClass.hh: No such file > or directory > > > On Wed, Oct 20, 2021 at 12:53 AM jenkins-no-reply--- via gem5-dev < > [email protected]> wrote: > >> See < >> https://jenkins.gem5.org/job/nightly/17/display/redirect?page=changes> >> >> Changes: >> >> [giacomo.travaglini] sim-se: Implement mkdirat syscall >> >> [giacomo.travaglini] arch-arm: Add mkdirat implementation to the Syscall >> Table >> >> [giacomo.travaglini] arch-arm: Add mknod implementation to the Syscall >> Table >> >> [gabe.black] scons: Use unions to prevent debug flag destruction. >> >> [gabe.black] scons: Make debug flags respect tags. >> >> [gabe.black] arch: Consolidate common debug flags. >> >> [Bobby R. Bruce] configs,tests: Add "Hello world" example for the gem5 >> library >> >> [Bobby R. Bruce] configs,tests: Add Ubuntu boot example for the gem5 >> library >> >> [gabe.black] configs,dev: Rename the riscv version of VirtIOMMIO with a >> Riscv prefix. >> >> [gabe.black] scons: Use tags to gate ISA files and not env['TARGET_ISA']. >> >> [mattdsinclair] tests: add HACC to weekly regression >> >> >> ------------------------------------------ >> [...truncated 645.00 KB...] >> [ RUN ] AddrRangeTest.LegacyConstructorTwoBitMaskWithXOR >> [ OK ] AddrRangeTest.LegacyConstructorTwoBitMaskWithXOR (1 ms) >> [ RUN ] AddrRangeTest.RangeExConstruction >> [ OK ] AddrRangeTest.RangeExConstruction (0 ms) >> [ RUN ] AddrRangeTest.RangeInConstruction >> [ OK ] AddrRangeTest.RangeInConstruction (0 ms) >> [ RUN ] AddrRangeTest.RangeSizeConstruction >> [ OK ] AddrRangeTest.RangeSizeConstruction (0 ms) >> [ RUN ] AddrRangeTest.ExcludeAll >> [ OK ] AddrRangeTest.ExcludeAll (0 ms) >> [ RUN ] AddrRangeTest.ExcludeAllEqual >> [ OK ] AddrRangeTest.ExcludeAllEqual (0 ms) >> [ RUN ] AddrRangeTest.ExcludeAllMultiple >> [ OK ] AddrRangeTest.ExcludeAllMultiple (0 ms) >> [ RUN ] AddrRangeTest.ExcludeAllOverlapping >> [ OK ] AddrRangeTest.ExcludeAllOverlapping (0 ms) >> [ RUN ] AddrRangeTest.ExcludeEmpty >> [ OK ] AddrRangeTest.ExcludeEmpty (0 ms) >> [ RUN ] AddrRangeTest.NoExclusion >> [ OK ] AddrRangeTest.NoExclusion (0 ms) >> [ RUN ] AddrRangeTest.DoubleExclusion >> [ OK ] AddrRangeTest.DoubleExclusion (0 ms) >> [ RUN ] AddrRangeTest.MultipleExclusion >> [ OK ] AddrRangeTest.MultipleExclusion (0 ms) >> [ RUN ] AddrRangeTest.MultipleExclusionOverlapping >> [ OK ] AddrRangeTest.MultipleExclusionOverlapping (0 ms) >> [ RUN ] AddrRangeTest.ExclusionOverlapping >> [ OK ] AddrRangeTest.ExclusionOverlapping (0 ms) >> [ RUN ] AddrRangeTest.MultipleExclusionUnsorted >> [ OK ] AddrRangeTest.MultipleExclusionUnsorted (0 ms) >> [ RUN ] AddrRangeTest.ExclusionOfSingleRange >> [ OK ] AddrRangeTest.ExclusionOfSingleRange (0 ms) >> [ RUN ] AddrRangeTest.ExclusionOfRangeFromRangeList >> [ OK ] AddrRangeTest.ExclusionOfRangeFromRangeList (0 ms) >> [ RUN ] AddrRangeTest.ExclusionOfRangeListFromRangeList >> [ OK ] AddrRangeTest.ExclusionOfRangeListFromRangeList (0 ms) >> [ RUN ] AddrRangeTest.SubtractionOperatorRange >> [ OK ] AddrRangeTest.SubtractionOperatorRange (0 ms) >> [ RUN ] AddrRangeTest.SubtractionOperatorRangeList >> [ OK ] AddrRangeTest.SubtractionOperatorRangeList (0 ms) >> [ RUN ] AddrRangeTest.SubtractionOfRangeFromRangeList >> [ OK ] AddrRangeTest.SubtractionOfRangeFromRangeList (0 ms) >> [ RUN ] AddrRangeTest.SubtractionOfRangeListFromRangeList >> [ OK ] AddrRangeTest.SubtractionOfRangeListFromRangeList (0 ms) >> [ RUN ] AddrRangeTest.SubtractionAssignmentOfRangeFromRangeList >> [ OK ] AddrRangeTest.SubtractionAssignmentOfRangeFromRangeList (0 >> ms) >> [ RUN ] AddrRangeTest.SubtractionAssignmentOfRangeListFromRangeList >> [ OK ] AddrRangeTest.SubtractionAssignmentOfRangeListFromRangeList >> (0 ms) >> [----------] 74 tests from AddrRangeTest (3 ms total) >> >> [----------] Global test environment tear-down >> [==========] 75 tests from 2 test suites ran. (156 ms total) >> [ PASSED ] 75 tests. >> >> YOU HAVE 6 DISABLED TESTS >> >> build/NULL/base/condcodes.test.opt >> --gtest_output=xml:build/NULL/unittests.opt/base/condcodes.test.xml >> Running main() from build/googletest/googletest/src/gtest_main.cc >> [==========] Running 10 tests from 1 test suite. >> [----------] Global test environment set-up. >> [----------] 10 tests from CircularQueueTest >> [ RUN ] CircularQueueTest.Empty >> [ OK ] CircularQueueTest.Empty (0 ms) >> [ RUN ] CircularQueueTest.HeadTailEmpty >> [ OK ] CircularQueueTest.HeadTailEmpty (0 ms) >> [ RUN ] CircularQueueTest.AddingElements >> [ OK ] CircularQueueTest.AddingElements (0 ms) >> [ RUN ] CircularQueueTest.RemovingElements >> [ OK ] CircularQueueTest.RemovingElements (0 ms) >> [ RUN ] CircularQueueTest.Full >> [ OK ] CircularQueueTest.Full (0 ms) >> [ RUN ] CircularQueueTest.BeginEnd >> [ OK ] CircularQueueTest.BeginEnd (0 ms) >> [ RUN ] CircularQueueTest.BeginFrontEndBack >> [ OK ] CircularQueueTest.BeginFrontEndBack (0 ms) >> [ RUN ] CircularQueueTest.IteratorsOp >> [ OK ] CircularQueueTest.IteratorsOp (0 ms) >> [ RUN ] CircularQueueTest.FullLoop >> [ OK ] CircularQueueTest.FullLoop (0 ms) >> [ RUN ] CircularQueueTest.MultipleRound >> [ OK ] CircularQueueTest.MultipleRound (0 ms) >> [----------] 10 tests from CircularQueueTest (0 ms total) >> >> [----------] Global test environment tear-down >> [==========] 10 tests from 1 test suite ran. (0 ms total) >> [ PASSED ] 10 tests. >> Running main() from build/googletest/googletest/src/gtest_main.cc >> [==========] Running 21 tests from 1 test suite. >> [----------] Global test environment set-up. >> [----------] 21 tests from CondCodes >> [ RUN ] CondCodes.FindCarryWithNoCarryIn8Bit >> [ OK ] CondCodes.FindCarryWithNoCarryIn8Bit (0 ms) >> [ RUN ] CondCodes.FindNoCarryWithNoCarryIn8Bit >> [ OK ] CondCodes.FindNoCarryWithNoCarryIn8Bit (0 ms) >> [ RUN ] CondCodes.FindCarryWithCarryIn8Bit >> [ OK ] CondCodes.FindCarryWithCarryIn8Bit (0 ms) >> [ RUN ] CondCodes.FindNoCarryWithCarryIn8Bit >> [ OK ] CondCodes.FindNoCarryWithCarryIn8Bit (0 ms) >> [ RUN ] CondCodes.FindCarryWithNoCarryIn32Bit >> [ OK ] CondCodes.FindCarryWithNoCarryIn32Bit (0 ms) >> [ RUN ] CondCodes.FindNoCarryWithNoCarryIn32Bit >> [ OK ] CondCodes.FindNoCarryWithNoCarryIn32Bit (0 ms) >> [ RUN ] CondCodes.FindCarryWithCarryIn32Bit >> [ OK ] CondCodes.FindCarryWithCarryIn32Bit (0 ms) >> [ RUN ] CondCodes.FindCarryWithNoCarryIn64Bit >> [ OK ] CondCodes.FindCarryWithNoCarryIn64Bit (0 ms) >> [ RUN ] CondCodes.FindCarryWithCarryIn64Bit >> [ OK ] CondCodes.FindCarryWithCarryIn64Bit (0 ms) >> [ RUN ] CondCodes.FindOverflow8Bit >> [ OK ] CondCodes.FindOverflow8Bit (0 ms) >> [ RUN ] CondCodes.FindOverflow32Bit >> [ OK ] CondCodes.FindOverflow32Bit (0 ms) >> [ RUN ] CondCodes.FindOverflow64Bit >> [ OK ] CondCodes.FindOverflow64Bit (0 ms) >> [ RUN ] CondCodes.OddParity >> [ OK ] CondCodes.OddParity (0 ms) >> [ RUN ] CondCodes.EvenParity >> [ OK ] CondCodes.EvenParity (0 ms) >> [ RUN ] CondCodes.OddParityOverflow >> [ OK ] CondCodes.OddParityOverflow (0 ms) >> [ RUN ] CondCodes.EvenParityOverflow >> [ OK ] CondCodes.EvenParityOverflow (0 ms) >> [ RUN ] CondCodes.IsNegative >> [ OK ] CondCodes.IsNegative (0 ms) >> [ RUN ] CondCodes.IsNotNegative >> [ OK ] CondCodes.IsNotNegative (0 ms) >> [ RUN ] CondCodes.IsZero >> [ OK ] CondCodes.IsZero (0 ms) >> [ RUN ] CondCodes.IsNotZero >> [ OK ] CondCodes.IsNotZero (0 ms) >> [ RUN ] CondCodes.IsZeroOverflow >> [ OK ] CondCodes.IsZeroOverflow (0 ms) >> [----------] 21 tests from CondCodes (0 ms total) >> >> [----------] Global test environment tear-down >> [==========] 21 tests from 1 test suite ran. (0 ms total) >> [ PASSED ] 21 tests. >> build/NULL/base/coroutine.test.opt >> --gtest_output=xml:build/NULL/unittests.opt/base/coroutine.test.xml >> build/NULL/base/cprintf.test.opt >> --gtest_output=xml:build/NULL/unittests.opt/base/cprintf.test.xml >> Running main() from build/googletest/googletest/src/gtest_main.cc >> [==========] Running 8 tests from 1 test suite. >> [----------] Global test environment set-up. >> [----------] 8 tests from Coroutine >> [ RUN ] Coroutine.Unstarted >> [ OK ] Coroutine.Unstarted (0 ms) >> [ RUN ] Coroutine.Unfinished >> [ OK ] Coroutine.Unfinished (0 ms) >> [ RUN ] Coroutine.Passing >> [ OK ] Coroutine.Passing (0 ms) >> [ RUN ] Coroutine.Returning >> [ OK ] Coroutine.Returning (0 ms) >> [ RUN ] Coroutine.Fibonacci >> [ OK ] Coroutine.Fibonacci (0 ms) >> [ RUN ] Coroutine.Cooperative >> [ OK ] Coroutine.Cooperative (0 ms) >> [ RUN ] Coroutine.Nested >> [ OK ] Coroutine.Nested (0 ms) >> [ RUN ] Coroutine.TwoCallers >> [ OK ] Coroutine.TwoCallers (0 ms) >> [----------] 8 tests from Coroutine (0 ms total) >> >> [----------] Global test environment tear-down >> [==========] 8 tests from 1 test suite ran. (0 ms total) >> [ PASSED ] 8 tests. >> build/NULL/base/debug.test.opt >> --gtest_output=xml:build/NULL/unittests.opt/base/debug.test.xml >> Running main() from build/googletest/googletest/src/gtest_main.cc >> [==========] Running 4 tests from 1 test suite. >> [----------] Global test environment set-up. >> [----------] 4 tests from CPrintf >> [ RUN ] CPrintf.Misc >> [ OK ] CPrintf.Misc (0 ms) >> [ RUN ] CPrintf.FloatingPoint >> [ OK ] CPrintf.FloatingPoint (1 ms) >> [ RUN ] CPrintf.Types >> [ OK ] CPrintf.Types (0 ms) >> [ RUN ] CPrintf.SpecialFormatting >> [ OK ] CPrintf.SpecialFormatting (0 ms) >> [----------] 4 tests from CPrintf (1 ms total) >> >> [----------] Global test environment tear-down >> [==========] 4 tests from 1 test suite ran. (1 ms total) >> [ PASSED ] 4 tests. >> scons: *** [build/NULL/arch/arm/aapcs64.test.to] Error 1 >> build/NULL/base/fiber.test.opt >> --gtest_output=xml:build/NULL/unittests.opt/base/fiber.test.xml >> build/NULL/base/debug.cc:107: panic: panic condition !result.second >> occurred: Flag FlagUniqueNamesTest already defined! >> Running main() from build/googletest/googletest/src/gtest_main.cc >> [==========] Running 12 tests from 4 test suites. >> [----------] Global test environment set-up. >> [----------] 1 test from DebugFlagDeathTest >> [ RUN ] DebugFlagDeathTest.UniqueNames >> [ OK ] DebugFlagDeathTest.UniqueNames (0 ms) >> [----------] 1 test from DebugFlagDeathTest (0 ms total) >> >> [----------] 8 tests from DebugFlagTest >> [ RUN ] DebugFlagTest.NameDesc >> [ OK ] DebugFlagTest.NameDesc (0 ms) >> [ RUN ] DebugFlagTest.IsFormat >> [ OK ] DebugFlagTest.IsFormat (0 ms) >> [ RUN ] DebugFlagTest.ConversionOperator >> [ OK ] DebugFlagTest.ConversionOperator (0 ms) >> [ RUN ] DebugFlagTest.FindFlag >> [ OK ] DebugFlagTest.FindFlag (0 ms) >> [ RUN ] DebugFlagTest.ChangeFlag >> [ OK ] DebugFlagTest.ChangeFlag (0 ms) >> [ RUN ] DebugFlagTest.SetClearDebugFlag >> [ OK ] DebugFlagTest.SetClearDebugFlag (0 ms) >> [ RUN ] DebugFlagTest.NoDumpDebugFlags >> [ OK ] DebugFlagTest.NoDumpDebugFlags (0 ms) >> [ RUN ] DebugFlagTest.DumpDebugFlags >> [ OK ] DebugFlagTest.DumpDebugFlags (0 ms) >> [----------] 8 tests from DebugFlagTest (0 ms total) >> >> [----------] 1 test from DebugSimpleFlagTest >> [ RUN ] DebugSimpleFlagTest.Enabled >> [ OK ] DebugSimpleFlagTest.Enabled (0 ms) >> [----------] 1 test from DebugSimpleFlagTest (0 ms total) >> >> [----------] 2 tests from DebugCompoundFlagTest >> [ RUN ] DebugCompoundFlagTest.Enabled >> [ OK ] DebugCompoundFlagTest.Enabled (0 ms) >> [ RUN ] DebugCompoundFlagTest.EnabledKids >> [ OK ] DebugCompoundFlagTest.EnabledKids (0 ms) >> [----------] 2 tests from DebugCompoundFlagTest (0 ms total) >> >> [----------] Global test environment tear-down >> [==========] 12 tests from 4 test suites ran. (0 ms total) >> [ PASSED ] 12 tests. >> Running main() from build/googletest/googletest/src/gtest_main.cc >> [==========] Running 3 tests from 1 test suite. >> [----------] Global test environment set-up. >> [----------] 3 tests from Fiber >> [ RUN ] Fiber.Starting >> [ OK ] Fiber.Starting (0 ms) >> [ RUN ] Fiber.Switching >> [ OK ] Fiber.Switching (0 ms) >> [ RUN ] Fiber.Linked >> [ OK ] Fiber.Linked (0 ms) >> [----------] 3 tests from Fiber (0 ms total) >> >> [----------] Global test environment tear-down >> [==========] 3 tests from 1 test suite ran. (0 ms total) >> [ PASSED ] 3 tests. >> scons: building terminated because of errors. >> *** Summary of Warnings *** >> Warning: Deprecated namespaces are not supported by this compiler. >> Please make sure to check the mailing list for deprecation >> announcements. >> Build step 'Execute shell' marked build as failure >> Archiving artifacts >> _______________________________________________ >> gem5-dev mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s >> >
_______________________________________________ gem5-dev mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
