From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0799FC2D0CE for ; Fri, 24 Jan 2020 04:36:16 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CD2B52077C for ; Fri, 24 Jan 2020 04:36:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CD2B52077C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=physik.fu-berlin.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:37358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuqhb-0003eq-0X for qemu-devel@archiver.kernel.org; Thu, 23 Jan 2020 23:36:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43392) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuqgu-0003DO-Ft for qemu-devel@nongnu.org; Thu, 23 Jan 2020 23:35:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuqgs-000813-Ri for qemu-devel@nongnu.org; Thu, 23 Jan 2020 23:35:32 -0500 Received: from indium.canonical.com ([91.189.90.7]:56416) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuqgs-0007xj-ER for qemu-devel@nongnu.org; Thu, 23 Jan 2020 23:35:30 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1iuqgr-0007CX-0Q for ; Fri, 24 Jan 2020 04:35:29 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id E98FF2E80C8 for ; Fri, 24 Jan 2020 04:35:28 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 24 Jan 2020 04:28:53 -0000 From: John Paul Adrian Glaubitz To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: glaubitz X-Launchpad-Bug-Reporter: John Paul Adrian Glaubitz (glaubitz) X-Launchpad-Bug-Modifier: John Paul Adrian Glaubitz (glaubitz) References: <157970117843.5560.13252417721225198010.malonedeb@chaenomeles.canonical.com> Message-Id: <157984013311.5723.11406962935545826661.malone@chaenomeles.canonical.com> Subject: [Bug 1860553] Re: cmake crashes on qemu-alpha-user with Illegal Instruction X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="b8d1327fd820d6bf500589d6da587d5037c7d88e"; Instance="production-secrets-lazr.conf" X-Launchpad-Hash: 45dad8d25c78952a7be6616184cced17e0c58ab3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 91.189.90.7 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1860553 <1860553@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Can someone remind me how I can print the disassembly in this case? root@epyc:~> qemu-alpha-static -cpu help Available CPUs: ev4-alpha-cpu ev5-alpha-cpu ev56-alpha-cpu ev6-alpha-cpu ev67-alpha-cpu ev68-alpha-cpu pca56-alpha-cpu root@epyc:~> export QEMU_CPU=3Dev68-alpha-cpu root@epyc:~> chroot /local_scratch/sid-alpha-sbuild/ bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) (sid-alpha-sbuild)root@epyc:/# cd /build/cmake-L20LIu/cmake-3.15.4/Build (sid-alpha-sbuild)root@epyc:/build/cmake-L20LIu/cmake-3.15.4/Build# ./Boots= trap.cmk/cmake .. Illegal instruction (sid-alpha-sbuild)root@epyc:/build/cmake-L20LIu/cmake-3.15.4/Build# I checked all documentation but qemu-monitor - which supports disassembly - seems to be available for qemu-system only. -- = 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=3D/<>=3D. -Wformat -Werror=3Dformat-security -Wdate-time -D_FORTIFY_SOURCE= =3D2 -I/<>/Build/Bootstrap.cmk -I/<= >/Source -I/<>/Source/LexerParser -I/<>/Utili= ties cmAddCustomCommandCommand.o cmAddCustomTargetCommand.o cmAddDefinitio= nsCommand.o cmAddDependenciesCommand.o cmAddExecutableCommand.o cmAddLibrar= yCommand.o cmAddSubDirectoryCommand.o cmAddTestCommand.o cmArgumentParser.o= cmBreakCommand.o cmBuildCommand.o cmCMakeMinimumRequired.o cmCMakePolicyCo= mmand.o cmCPackPropertiesGenerator.o cmCacheManager.o cmCommand.o cmCommand= ArgumentParserHelper.o cmCommands.o cmCommonTargetGenerator.o cmComputeComp= onentGraph.o cmComputeLinkDepends.o cmComputeLinkInformation.o cmComputeTar= getDepends.o cmConditionEvaluator.o cmConfigureFileCommand.o cmContinueComm= and.o cmCoreTryCompile.o cmCreateTestSourceList.o cmCustomCommand.o cmCusto= mCommandGenerator.o cmDefinePropertyCommand.o cmDefinitions.o cmDepends.o c= mDependsC.o cmDisallowedCommand.o cmDocumentationFormatter.o cmEnableLangua= geCommand.o cmEnableTestingCommand.o cmExecProgramCommand.o cmExecuteProces= sCommand.o cmExpandedCommandArgument.o cmExportBuildFileGenerator.o cmExpor= tFileGenerator.o cmExportInstallFileGenerator.o cmExportSet.o cmExportSetMa= p.o cmExportTryCompileFileGenerator.o cmExprParserHelper.o cmExternalMakefi= leProjectGenerator.o cmFileCommand.o cmFileCopier.o cmFileInstaller.o cmFil= eTime.o cmFileTimeCache.o cmFileTimes.o cmFindBase.o cmFindCommon.o cmFindF= ileCommand.o cmFindLibraryCommand.o cmFindPackageCommand.o cmFindPathComman= d.o cmFindProgramCommand.o cmForEachCommand.o cmFunctionCommand.o cmFSPermi= ssions.o cmGeneratedFileStream.o cmGeneratorExpression.o cmGeneratorExpress= ionContext.o cmGeneratorExpressionDAGChecker.o cmGeneratorExpressionEvaluat= ionFile.o cmGeneratorExpressionEvaluator.o cmGeneratorExpressionLexer.o cmG= eneratorExpressionNode.o cmGeneratorExpressionParser.o cmGeneratorTarget.o = cmGetCMakePropertyCommand.o cmGetDirectoryPropertyCommand.o cmGetFilenameCo= mponentCommand.o cmGetPipes.o cmGetPropertyCommand.o cmGetSourceFilePropert= yCommand.o cmGetTargetPropertyCommand.o cmGetTestPropertyCommand.o cmGlobal= CommonGenerator.o cmGlobalGenerator.o cmGlobalUnixMakefileGenerator3.o cmGl= obVerificationManager.o cmHexFileConverter.o cmIfCommand.o cmIncludeCommand= .o cmIncludeGuardCommand.o cmIncludeDirectoryCommand.o cmIncludeRegularExpr= essionCommand.o cmInstallCommand.o cmInstallCommandArguments.o cmInstallDir= ectoryGenerator.o cmInstallExportGenerator.o cmInstallFilesCommand.o cmInst= allFilesGenerator.o cmInstallGenerator.o cmInstallScriptGenerator.o cmInsta= llSubdirectoryGenerator.o cmInstallTargetGenerator.o cmInstallTargetsComman= d.o cmInstalledFile.o cmLinkDirectoriesCommand.o cmLinkItem.o cmLinkLineCom= puter.o cmLinkLineDeviceComputer.o cmListCommand.o cmListFileCache.o cmLoca= lCommonGenerator.o cmLocalGenerator.o cmLocalUnixMakefileGenerator3.o cmMSV= C60LinkLineComputer.o cmMacroCommand.o cmMakeDirectoryCommand.o cmMakefile.= o cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o = cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o cmMarkAsAdva= ncedCommand.o cmMathCommand.o cmMessageCommand.o cmMessenger.o cmNewLineSty= le.o cmOSXBundleGenerator.o cmOptionCommand.o cmOrderDirectories.o cmOutput= Converter.o cmParseArgumentsCommand.o cmPathLabel.o cmPolicies.o cmProcessO= utput.o cmProjectCommand.o cmProperty.o cmPropertyDefinition.o cmPropertyDe= finitionMap.o cmPropertyMap.o cmReturnCommand.o cmRulePlaceholderExpander.o= cmScriptGenerator.o cmSearchPath.o cmSeparateArgumentsCommand.o cmSetComma= nd.o cmSetDirectoryPropertiesCommand.o cmSetPropertyCommand.o cmSetSourceFi= lesPropertiesCommand.o cmSetTargetPropertiesCommand.o cmSetTestsPropertiesC= ommand.o cmSiteNameCommand.o cmSourceFile.o cmSourceFileLocation.o cmState.= o cmStateDirectory.o cmStateSnapshot.o cmStringReplaceHelper.o cmStringComm= and.o cmSubdirCommand.o cmSystemTools.o cmTarget.o cmTargetCompileDefinitio= nsCommand.o cmTargetCompileFeaturesCommand.o cmTargetCompileOptionsCommand.= o cmTargetIncludeDirectoriesCommand.o cmTargetLinkLibrariesCommand.o cmTarg= etPropCommandBase.o cmTargetPropertyComputer.o cmTargetSourcesCommand.o cmT= est.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 cmc= md.o cm_string_view.o cmCommandArgumentLexer.o cmCommandArgumentParser.o cm= ExprLexer.o cmExprParser.o cmListFileLexer.o Directory.o EncodingCXX.o FStr= eam.o Glob.o RegularExpression.o SystemTools.o EncodingC.o ProcessUNIX.o St= ring.o System.o Terminal.o uv-src-strscpy.c.o uv-src-timer.c.o uv-src-uv-co= mmon.c.o uv-src-unix-cmake-bootstrap.c.o uv-src-unix-core.c.o uv-src-unix-f= s.c.o uv-src-unix-loop.c.o uv-src-unix-loop-watcher.c.o uv-src-unix-no-fsev= ents.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 '/<>/Build/Bootstrap.cmk' loading initial cache file /<>/Build/Bootstrap.cmk/InitialCa= cheFlags.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