Comments (9)
Try #10 (comment)
Set HOSTCC. Exactly what I need. Thank you.
from cmlfs.
I didn't place make in command correctly. Now it works. I will check 3-chroot/005-kernel-headers, if this error will not appear, I will close this issue.
P.S. Well, when we build in chroot environment, this should not happen. Issue closed
P.P.S. And did not!
from cmlfs.
Yeah,
5.12.x
is so strange when usingLLVM=1
, HOSTCC always fail to build fixdep.c.I tried with 5.10.46, bug is present
Hmmmmmmmmmmmmmmm, I thought it only happened in
5.12.x
(based on what @dslm4515 said)
I forgot which kernel version, maybe 5.10.12, and bug isn’t present. It was worse when building the kernel with LLVM=1
because of “assembler errors”... which was fixed with LLVM_IAS=1
... I thought recent kernel versions had LLVM/Clang build support (before, there was a fork of the Linux kernel with focus on the LLVM build support)
from cmlfs.
Try #10 (comment)
from cmlfs.
Yeah, 5.12.x
is so strange when using LLVM=1
, default HOSTCC (clang) always fail to build fixdep.c. But not with triplet-clang
from cmlfs.
Yeah,
5.12.x
is so strange when usingLLVM=1
, HOSTCC always fail to build fixdep.c.
I tried with 5.10.46, bug is present
from cmlfs.
Yeah,
5.12.x
is so strange when usingLLVM=1
, HOSTCC always fail to build fixdep.c.I tried with 5.10.46, bug is present
Hmmmmmmmmmmmmmmm, I thought it only happened in 5.12.x
(based on what @dslm4515 said)
from cmlfs.
well, so Linux can't live without GNU core concept
https://wiki.osdev.org/Target_Triplet
from cmlfs.
Hmmmmmmmmmmmmmmm, I thought it only happened in 5.12.x (based on what @dslm4515 said)
Kernel 5.9.16 compiles fine without these errors or patches.
from cmlfs.
Related Issues (20)
- TableGen fails to Compile HOT 1
- Perl 5.36.0 + perl-cross-1.4: Fails to build for llvmtools HOT 3
- TO-DO: Libc++'s __config_site misplaced HOT 11
- Build More of llvmtools under choot HOT 1
- lib & bin Merge HOT 1
- Stage1 Clang uses GCC HOT 3
- Stage2 clang: llvm-tblgen will not compile HOT 5
- Gperf fails to compile HOT 43
- Broken stage2 (final system) clang+LLVM HOT 3
- Could we also have Heirloom NG as an alternative to GNU Coreutils in the future? HOT 63
- Python3 need to be rebuilt after final system clang is built HOT 8
- Clarity on CMLFS_TARGET at 1-cgnutools/4-musl HOT 2
- Compiler Warning: "-fuse-ld=' taking a path is deprecated"
- LLVM Compilation Failed HOT 1
- Unable to Compile Kernel HOT 25
- What are the packages that cannot be build without GCC? HOT 4
- Fail at Stage-0 (1-Mussel) HOT 6
- What is the state of CMLFS methods for cross-compiling? HOT 34
- Patch for musl's utmp.h is incomplete HOT 5
- OpenSSL needs certificates HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmlfs.