[PATCH v2] sb: Add support to search for a suitable version of python.

Chris Johns chrisj at rtems.org
Wed Oct 24 10:23:21 UTC 2018


On 24/10/18 9:20 pm, Malte Münch wrote:
> 
> the output with LC_ALL= is still in german but LC_ALL=C returns the
> following:

Excellent.

> 
> [mamu at verstappen rtems]$ echo “” | LC_ALL=C gcc -xc -E -v -
> 
> Using built-in specs.
> 
> COLLECT_GCC=gcc
> 
> Target: x86_64-pc-linux-gnu
> 
> Configured with: /build/gcc/src/gcc/configure --prefix=/usr
> --libdir=/usr/lib --libexecdir=/usr/lib --ma$
> dir=/usr/share/man --infodir=/usr/share/info
> --with-bugurl=https://bugs.archlinux.org/ --enable-language$
> =c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
> --enable-threads=posix --enable-libmpx --with-sys$
> em-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions
> --enable-clocale=gnu --disable-l$
> bstdcxx-pch --disable-libssp --enable-gnu-unique-object
> --enable-linker-build-id --enable-lto --enable-p$
> ugin --enable-install-libiberty --with-linker-hash-style=gnu
> --enable-gnu-indirect-function --enable-mul$
> ilib --disable-werror --enable-checking=release --enable-default-pie
> --enable-default-ssp --enable-cet=a$
> to
> 
> Thread model: posix
> 
> gcc version 8.2.1 20180831 (GCC)
> 
> COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=x86-64'
> 
>  /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/cc1 -E -quiet -v -
> -mtune=generic -march=x86-64
> ignoring nonexistent directory
> "/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../x86_64-pc-linux-gnu/i$
> clude"
> 
> ignoring duplicate directory "/usr/include"
> 
> #include "..." search starts here:
> 
> #include <...> search starts here:
> 
>  /usr/include/
> 
>  /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/include
> 
>  /usr/local/include
> 
>  /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/include-fixed
> 
> End of search list.
> 
> # 1 "<stdin>"
> 
> # 1 "<built-in>"
> 
> # 1 "<command-line>"
> 
> # 31 "<command-line>"
> # 1 "/usr/include/stdc-predef.h" 1 3
> # 32 "<command-line>" 2
> # 1 "<stdin>"
> “”
> COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gc
> c/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
> LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../l
> ib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../:/lib/:/usr/lib/
> COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=x86-64'
> 
> 
> I am not sure if the build will run through but until everything looks
> fine with export LC_ALL=C

I think it will work. I will add this to the patch and push the result.

Many thanks for the help debugging this.

Chris



More information about the devel mailing list