Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785604 - sys-libs/compiler-rt failed (configure phase)
Summary: sys-libs/compiler-rt failed (configure phase)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo ARM Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-25 12:56 UTC by andy
Modified: 2021-04-27 14:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (file_785604.txt,5.31 KB, text/plain)
2021-04-25 12:56 UTC, andy
Details
CMakeError.log (file_785604.txt,6.21 KB, text/plain)
2021-04-25 12:59 UTC, andy
Details
emerge --info '=sys-libs/compiler-rt-11.1.0::gentoo' (file_785604.txt,6.06 KB, text/plain)
2021-04-25 14:48 UTC, andy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andy 2021-04-25 12:56:04 UTC
Created attachment 702408 [details]
build.log

sys-libs/compiler-rt fails with : 

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Found assembler: armv7a-hardfloat-linux-gnueabi-clang
CMake Error at CMakeLists.txt:14 (project):
  The CMAKE_C_COMPILER:

    armv7a-hardfloat-linux-gnueabi-clangg

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.
Comment 1 andy 2021-04-25 12:59:19 UTC
Created attachment 702411 [details]
CMakeError.log
Comment 2 andy 2021-04-25 14:48:29 UTC
Created attachment 702420 [details]
emerge --info '=sys-libs/compiler-rt-11.1.0::gentoo'
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-04-26 21:49:19 UTC
$ ls /usr/lib/llvm/*/bin

plz.
Comment 4 andy 2021-04-27 03:10:33 UTC
(In reply to Michał Górny from comment #3)
> $ ls /usr/lib/llvm/*/bin
> 
> plz.

here you go :


ls /usr/lib/llvm/*/bin
/usr/lib/llvm/10/bin:
armv7a-hardfloat-linux-gnueabi-llvm-config  llvm-lto2
bugpoint                                    llvm-mc
count                                       llvm-mca
dsymutil                                    llvm-modextract
FileCheck                                   llvm-mt
llc                                         llvm-nm
lli                                         llvm-objcopy
lli-child-target                            llvm-objdump
llvm-addr2line                              llvm-opt-report
llvm-ar                                     llvm-pdbutil
llvm-as                                     llvm-PerfectShuffle
llvm-bcanalyzer                             llvm-profdata
llvm-cat                                    llvm-ranlib
llvm-cfi-verify                             llvm-rc
llvm-config                                 llvm-readelf
llvm-cov                                    llvm-readobj
llvm-c-test                                 llvm-reduce
llvm-cvtres                                 llvm-rtdyld
llvm-cxxdump                                llvm-size
llvm-cxxfilt                                llvm-split
llvm-cxxmap                                 llvm-stress
llvm-diff                                   llvm-strings
llvm-dis                                    llvm-strip
llvm-dlltool                                llvm-symbolizer
llvm-dwarfdump                              llvm-tblgen
llvm-dwp                                    llvm-undname
llvm-elfabi                                 llvm-xray
llvm-exegesis                               not
llvm-extract                                obj2yaml
llvm-ifs                                    opt
llvm-install-name-tool                      sancov
llvm-jitlink                                sanstats
llvm-lib                                    verify-uselistorder
llvm-link                                   yaml2obj
llvm-lipo                                   yaml-bench
llvm-lto

/usr/lib/llvm/11/bin:
armv7a-hardfloat-linux-gnueabi-llvm-config   llvm-cxxmap
armv7a-unknown-linux-gnueabihf-clang         llvm-diff
armv7a-unknown-linux-gnueabihf-clang++       llvm-dis
armv7a-unknown-linux-gnueabihf-clang++-11    llvm-dlltool
armv7a-unknown-linux-gnueabihf-clang-11      llvm-dwarfdump
armv7a-unknown-linux-gnueabihf-clang-cl      llvm-dwp
armv7a-unknown-linux-gnueabihf-clang-cl-11   llvm-elfabi
armv7a-unknown-linux-gnueabihf-clang-cpp     llvm-exegesis
armv7a-unknown-linux-gnueabihf-clang-cpp-11  llvm-extract
bugpoint                                     llvm-gsymutil
c-index-test                                 llvm-ifs
clang                                        llvm-install-name-tool
clang++                                      llvm-jitlink
clang++-11                                   llvm-lib
clang-11                                     llvm-link
clang-apply-replacements                     llvm-lipo
clang-change-namespace                       llvm-lto
clang-check                                  llvm-lto2
clang-cl                                     llvm-mc
clang-cl-11                                  llvm-mca
clang-cpp                                    llvm-ml
clang-cpp-11                                 llvm-modextract
clangd                                       llvm-mt
clang-doc                                    llvm-nm
clang-extdef-mapping                         llvm-objcopy
clang-format                                 llvm-objdump
clang-include-fixer                          llvm-opt-report
clang-move                                   llvm-pdbutil
clang-offload-bundler                        llvm-PerfectShuffle
clang-offload-wrapper                        llvm-profdata
clang-query                                  llvm-ranlib
clang-refactor                               llvm-rc
clang-rename                                 llvm-readelf
clang-reorder-fields                         llvm-readobj
clang-scan-deps                              llvm-reduce
clang-tidy                                   llvm-rtdyld
count                                        llvm-size
diagtool                                     llvm-split
dsymutil                                     llvm-stress
FileCheck                                    llvm-strings
find-all-symbols                             llvm-strip
git-clang-format                             llvm-symbolizer
hmaptool                                     llvm-tblgen
llc                                          llvm-undname
lli                                          llvm-xray
lli-child-target                             modularize
llvm-addr2line                               not
llvm-ar                                      obj2yaml
llvm-as                                      opt
llvm-bcanalyzer                              pp-trace
llvm-cat                                     sancov
llvm-cfi-verify                              sanstats
llvm-config                                  scan-build
llvm-cov                                     scan-view
llvm-c-test                                  verify-uselistorder
llvm-cvtres                                  yaml2obj
llvm-cxxdump                                 yaml-bench
llvm-cxxfilt

/usr/lib/llvm/12/bin:
armv7a-hardfloat-linux-gnueabi-llvm-config   llvm-diff
armv7a-unknown-linux-gnueabihf-clang         llvm-dis
armv7a-unknown-linux-gnueabihf-clang++       llvm-dlltool
armv7a-unknown-linux-gnueabihf-clang++-12    llvm-dwarfdump
armv7a-unknown-linux-gnueabihf-clang-12      llvm-dwp
armv7a-unknown-linux-gnueabihf-clang-cl      llvm-elfabi
armv7a-unknown-linux-gnueabihf-clang-cl-12   llvm-exegesis
armv7a-unknown-linux-gnueabihf-clang-cpp     llvm-extract
armv7a-unknown-linux-gnueabihf-clang-cpp-12  llvm-gsymutil
bugpoint                                     llvm-ifs
c-index-test                                 llvm-install-name-tool
clang                                        llvm-jitlink
clang++                                      llvm-jitlink-executor
clang++-12                                   llvm-lib
clang-12                                     llvm-libtool-darwin
clang-apply-replacements                     llvm-link
clang-change-namespace                       llvm-lipo
clang-check                                  llvm-lto
clang-cl                                     llvm-lto2
clang-cl-12                                  llvm-mc
clang-cpp                                    llvm-mca
clang-cpp-12                                 llvm-ml
clangd                                       llvm-modextract
clang-doc                                    llvm-mt
clang-extdef-mapping                         llvm-nm
clang-format                                 llvm-objcopy
clang-include-fixer                          llvm-objdump
clang-move                                   llvm-opt-report
clang-offload-bundler                        llvm-pdbutil
clang-offload-wrapper                        llvm-PerfectShuffle
clang-query                                  llvm-profdata
clang-refactor                               llvm-profgen
clang-rename                                 llvm-ranlib
clang-reorder-fields                         llvm-rc
clang-scan-deps                              llvm-readelf
clang-tidy                                   llvm-readobj
count                                        llvm-reduce
diagtool                                     llvm-rtdyld
dsymutil                                     llvm-size
FileCheck                                    llvm-split
find-all-symbols                             llvm-stress
git-clang-format                             llvm-strings
hmaptool                                     llvm-strip
llc                                          llvm-symbolizer
lli                                          llvm-tblgen
lli-child-target                             llvm-undname
llvm-addr2line                               llvm-xray
llvm-ar                                      modularize
llvm-as                                      not
llvm-bcanalyzer                              obj2yaml
llvm-bitcode-strip                           opt
llvm-cat                                     pp-trace
llvm-cfi-verify                              sancov
llvm-config                                  sanstats
llvm-cov                                     scan-build
llvm-c-test                                  scan-view
llvm-cvtres                                  split-file
llvm-cxxdump                                 verify-uselistorder
llvm-cxxfilt                                 yaml2obj
llvm-cxxmap                                  yaml-bench
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-04-27 07:01:33 UTC
That's interesting.  Did you change CHOST any time recently?  Possibly trying to move away from the deprecated and broken 'hardfloat' vendor to *-gnueabihf?
Comment 6 andy 2021-04-27 07:10:32 UTC
(In reply to Michał Górny from comment #5)
> That's interesting.  Did you change CHOST any time recently?  Possibly
> trying to move away from the deprecated and broken 'hardfloat' vendor to
> *-gnueabihf?

Michał 

I have not changed CHOST .and i dont know if i can 
Change it ?.  This is what i have used: https://wiki.gentoo.org/wiki/Asus_Transformer_Infinity_(TF700T)/Install
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-04-27 07:33:28 UTC
(In reply to andy from comment #6)
> (In reply to Michał Górny from comment #5)
> > That's interesting.  Did you change CHOST any time recently?  Possibly
> > trying to move away from the deprecated and broken 'hardfloat' vendor to
> > *-gnueabihf?
> 
> Michał 
> 
> I have not changed CHOST .and i dont know if i can 
> Change it ?.  This is what i have used:
> https://wiki.gentoo.org/wiki/Asus_Transformer_Infinity_(TF700T)/Install

The '2016' warning on top pretty much explains why it doesn't work.

Your CHOST probably needs to be "armv7a-unknown-linux-gnueabihf".  There's a guide for changing the CHOST at [1].

I'm reassigning to arm team, in case they can provide any guidance.

[1] https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable
Comment 8 andy 2021-04-27 10:21:32 UTC
(In reply to Michał Górny from comment #7)
> (In reply to andy from comment #6)
> > (In reply to Michał Górny from comment #5)
> > > That's interesting.  Did you change CHOST any time recently?  Possibly
> > > trying to move away from the deprecated and broken 'hardfloat' vendor to
> > > *-gnueabihf?
> > 
> > Michał 
> > 
> > I have not changed CHOST .and i dont know if i can 
> > Change it ?.  This is what i have used:
> > https://wiki.gentoo.org/wiki/Asus_Transformer_Infinity_(TF700T)/Install
> 
> The '2016' warning on top pretty much explains why it doesn't work.
> 
> Your CHOST probably needs to be "armv7a-unknown-linux-gnueabihf".  There's a
> guide for changing the CHOST at [1].
> 
> I'm reassigning to arm team, in case they can provide any guidance.
> 
> [1] https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable

Thanks

Waiting for the arm team for some more feedback.
Comment 9 andy 2021-04-27 14:56:42 UTC
BTW . this is a bug that has the same error output : https://bugs.gentoo.org/651908