qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1860553] Re: cmake crashes on qemu-alpha-user with Illegal Instruct


From: Barnabas Viragh
Subject: [Bug 1860553] Re: cmake crashes on qemu-alpha-user with Illegal Instruction
Date: Wed, 15 Apr 2020 00:08:39 -0000

It also produces that Illegal Instruction on Gentoo. However, the exact
same cmake binary runs without issue on real hardware.

Some additions: qemu-mips64, qemu-arm, qemu-aarch64 doesn't have this
problem (I'am using it with the same version of cmake compiled to/under
those, and real HW).

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1860553

Title:
  cmake crashes on qemu-alpha-user with Illegal Instruction

Status in QEMU:
  New

Bug description:
  I tried building cmake on Debian unstable for Alpha today using qemu-
  user and the compiled cmake binary crashed with "Illegal Instruction":

  g++ -Wl,-z,relro -Wl,--as-needed -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2             
-I/<<PKGBUILDDIR>>/Build/Bootstrap.cmk   -I/<<PKGBUILDDIR>>/Source   
-I/<<PKGBUILDDIR>>/Source/LexerParser   -I/<<PKGBUILDDIR>>/Utilities  
cmAddCustomCommandCommand.o cmAddCustomTargetCommand.o 
cmAddDefinitionsCommand.o cmAddDependenciesCommand.o cmAddExecutableCommand.o 
cmAddLibraryCommand.o cmAddSubDirectoryCommand.o cmAddTestCommand.o 
cmArgumentParser.o cmBreakCommand.o cmBuildCommand.o cmCMakeMinimumRequired.o 
cmCMakePolicyCommand.o cmCPackPropertiesGenerator.o cmCacheManager.o 
cmCommand.o cmCommandArgumentParserHelper.o cmCommands.o 
cmCommonTargetGenerator.o cmComputeComponentGraph.o cmComputeLinkDepends.o 
cmComputeLinkInformation.o cmComputeTargetDepends.o cmConditionEvaluator.o 
cmConfigureFileCommand.o cmContinueCommand.o cmCoreTryCompile.o 
cmCreateTestSourceList.o cmCustomCommand.o cmCustomCommandGenerator.o 
cmDefinePropertyCommand.o cmDefinitions.o cmDepends.o cmDependsC.o 
cmDisallowedCommand.o cmDocumentationFormatter.o cmEnableLanguageCommand.o 
cmEnableTestingCommand.o cmExecProgramCommand.o cmExecuteProcessCommand.o 
cmExpandedCommandArgument.o cmExportBuildFileGenerator.o 
cmExportFileGenerator.o cmExportInstallFileGenerator.o cmExportSet.o 
cmExportSetMap.o cmExportTryCompileFileGenerator.o cmExprParserHelper.o 
cmExternalMakefileProjectGenerator.o cmFileCommand.o cmFileCopier.o 
cmFileInstaller.o cmFileTime.o cmFileTimeCache.o cmFileTimes.o cmFindBase.o 
cmFindCommon.o cmFindFileCommand.o cmFindLibraryCommand.o 
cmFindPackageCommand.o cmFindPathCommand.o cmFindProgramCommand.o 
cmForEachCommand.o cmFunctionCommand.o cmFSPermissions.o 
cmGeneratedFileStream.o cmGeneratorExpression.o cmGeneratorExpressionContext.o 
cmGeneratorExpressionDAGChecker.o cmGeneratorExpressionEvaluationFile.o 
cmGeneratorExpressionEvaluator.o cmGeneratorExpressionLexer.o 
cmGeneratorExpressionNode.o cmGeneratorExpressionParser.o cmGeneratorTarget.o 
cmGetCMakePropertyCommand.o cmGetDirectoryPropertyCommand.o 
cmGetFilenameComponentCommand.o cmGetPipes.o cmGetPropertyCommand.o 
cmGetSourceFilePropertyCommand.o cmGetTargetPropertyCommand.o 
cmGetTestPropertyCommand.o cmGlobalCommonGenerator.o cmGlobalGenerator.o 
cmGlobalUnixMakefileGenerator3.o cmGlobVerificationManager.o 
cmHexFileConverter.o cmIfCommand.o cmIncludeCommand.o cmIncludeGuardCommand.o 
cmIncludeDirectoryCommand.o cmIncludeRegularExpressionCommand.o 
cmInstallCommand.o cmInstallCommandArguments.o cmInstallDirectoryGenerator.o 
cmInstallExportGenerator.o cmInstallFilesCommand.o cmInstallFilesGenerator.o 
cmInstallGenerator.o cmInstallScriptGenerator.o 
cmInstallSubdirectoryGenerator.o cmInstallTargetGenerator.o 
cmInstallTargetsCommand.o cmInstalledFile.o cmLinkDirectoriesCommand.o 
cmLinkItem.o cmLinkLineComputer.o cmLinkLineDeviceComputer.o cmListCommand.o 
cmListFileCache.o cmLocalCommonGenerator.o cmLocalGenerator.o 
cmLocalUnixMakefileGenerator3.o cmMSVC60LinkLineComputer.o cmMacroCommand.o 
cmMakeDirectoryCommand.o cmMakefile.o cmMakefileExecutableTargetGenerator.o 
cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o 
cmMakefileUtilityTargetGenerator.o cmMarkAsAdvancedCommand.o cmMathCommand.o 
cmMessageCommand.o cmMessenger.o cmNewLineStyle.o cmOSXBundleGenerator.o 
cmOptionCommand.o cmOrderDirectories.o cmOutputConverter.o 
cmParseArgumentsCommand.o cmPathLabel.o cmPolicies.o cmProcessOutput.o 
cmProjectCommand.o cmProperty.o cmPropertyDefinition.o 
cmPropertyDefinitionMap.o cmPropertyMap.o cmReturnCommand.o 
cmRulePlaceholderExpander.o cmScriptGenerator.o cmSearchPath.o 
cmSeparateArgumentsCommand.o cmSetCommand.o cmSetDirectoryPropertiesCommand.o 
cmSetPropertyCommand.o cmSetSourceFilesPropertiesCommand.o 
cmSetTargetPropertiesCommand.o cmSetTestsPropertiesCommand.o 
cmSiteNameCommand.o cmSourceFile.o cmSourceFileLocation.o cmState.o 
cmStateDirectory.o cmStateSnapshot.o cmStringReplaceHelper.o cmStringCommand.o 
cmSubdirCommand.o cmSystemTools.o cmTarget.o 
cmTargetCompileDefinitionsCommand.o cmTargetCompileFeaturesCommand.o 
cmTargetCompileOptionsCommand.o cmTargetIncludeDirectoriesCommand.o 
cmTargetLinkLibrariesCommand.o cmTargetPropCommandBase.o 
cmTargetPropertyComputer.o cmTargetSourcesCommand.o cmTest.o cmTestGenerator.o 
cmTimestamp.o cmTryCompileCommand.o cmTryRunCommand.o cmUnexpectedCommand.o 
cmUnsetCommand.o cmUVHandlePtr.o cmUVProcessChain.o cmVersion.o 
cmWhileCommand.o cmWorkingDirectory.o cmake.o cmakemain.o cmcmd.o 
cm_string_view.o cmCommandArgumentLexer.o cmCommandArgumentParser.o 
cmExprLexer.o cmExprParser.o cmListFileLexer.o Directory.o EncodingCXX.o 
FStream.o Glob.o RegularExpression.o SystemTools.o EncodingC.o ProcessUNIX.o 
String.o System.o Terminal.o uv-src-strscpy.c.o uv-src-timer.c.o 
uv-src-uv-common.c.o uv-src-unix-cmake-bootstrap.c.o uv-src-unix-core.c.o 
uv-src-unix-fs.c.o uv-src-unix-loop.c.o uv-src-unix-loop-watcher.c.o 
uv-src-unix-no-fsevents.c.o uv-src-unix-pipe.c.o uv-src-unix-poll.c.o 
uv-src-unix-posix-hrtime.c.o uv-src-unix-posix-poll.c.o uv-src-unix-process.c.o 
uv-src-unix-signal.c.o uv-src-unix-stream.c.o  -ldl -lrt -o cmake
  make[2]: Leaving directory '/<<PKGBUILDDIR>>/Build/Bootstrap.cmk'
  loading initial cache file 
/<<PKGBUILDDIR>>/Build/Bootstrap.cmk/InitialCacheFlags.cmake
  Illegal instruction
  ---------------------------------------------
  Error when bootstrapping CMake:
  Problem while running initial CMake
  ---------------------------------------------

  I'm working on creating a chroot for download to reproduce the issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1860553/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]