[cfe-dev] unknown target CPU 'pentium-m'

George via cfe-dev cfe-dev at lists.llvm.org
Fri Nov 23 07:34:55 PST 2018


On Fri, 23 Nov 2018 14:48:33 +0100 Mostyn
Bramley-Moore wrote:

> You can copy a sample failed compile command from
> your terminal, cd into the build directory (looks
> like "out/Release/gn_build/" in your log) and
> copy+paste the command and run it with -v appended.

Nice idea. So I have done that and the output is
(username hidden):

[/tmp/download/ungoogled-chromium/build/src/out/Release/gn_build]: ~/---builds/llvm-build/bin/clang++ -MMD -MF base/command_line.o.d  -I/tmp/download/ungoogled-chromium/build/src/tools/gn -I/tmp/download/ungoogled-chromium/build/src/out/Release/gn_build -O3 -pipe -m32 -march=pentium-m -mtune=pentium-m -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -O3 -pipe -m32 -march=pentium-m -mtune=pentium-m -std=c++14 -Wno-c++11-narrowing -c /tmp/download/ungoogled-chromium/build/src/tools/gn/base/command_line.cc -o base/command_line.o -v
clang version 8.0.0 (trunk 346299)
Target: i386-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/████/---builds/llvm-build/bin
Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/7
 "/home/████/---builds/llvm-build-good/bin/clang-8" -cc1 -triple i386-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name command_line.cc -mrelocation-model static -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu pentium-m -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -v -ffunction-sections -fdata-sections -coverage-notes-file /tmp/download/ungoogled-chromium/build/src/out/Release/gn_build/base/command_line.gcno -resource-dir /home/████/---builds/llvm-build-good/lib/clang/8.0.0 -dependency-file base/command_line.o.d -MT base/command_line.o -I /tmp/download/ungoogled-chromium/build/src/tools/gn -I /tmp/download/ungoogled-chromium/build/src/out/Release/gn_build -D NDEBUG -D _FILE_OFFSET_BITS=64 -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -internal-isystem /usr/local/include -internal-isystem /home/████/---builds/llvm-build-good/lib/clang/8.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -O3 -Wno-c++11-narrowing -std=c++14 -fdeprecated-macro -fdebug-compilation-dir /tmp/download/ungoogled-chromium/build/src/out/Release/gn_build -ferror-limit 19 -fmessage-length 89 -pthread -fno-rtti -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o base/command_line.o -x c++ /tmp/download/ungoogled-chromium/build/src/tools/gn/base/command_line.cc -faddrsig
clang -cc1 version 8.0.0 based upon LLVM 8.0.0svn default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /tmp/download/ungoogled-chromium/build/src/tools/gn
 /tmp/download/ungoogled-chromium/build/src/out/Release/gn_build
 /usr/local/include
 /home/████/---builds/llvm-build-good/lib/clang/8.0.0/include
 /usr/include
End of search list.
In file included from /tmp/download/ungoogled-chromium/build/src/tools/gn/base/command_line.cc:5:
/tmp/download/ungoogled-chromium/build/src/tools/gn/base/command_line.h:19:10: fatal error:
      'map' file not found
#include <map>
         ^~~~~
1 error generated.



So what should be done to fix that?

-- 
George



More information about the cfe-dev mailing list