Code Monkey home page Code Monkey logo

Comments (9)

andzai1995 avatar andzai1995 commented on June 12, 2024 1

Try #10 (comment)

Set HOSTCC. Exactly what I need. Thank you.

from cmlfs.

andzai1995 avatar andzai1995 commented on June 12, 2024 1

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.

dslm4515 avatar dslm4515 commented on June 12, 2024 1

Yeah, 5.12.x is so strange when using LLVM=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.

owl4ce avatar owl4ce commented on June 12, 2024

Try #10 (comment)

from cmlfs.

owl4ce avatar owl4ce commented on June 12, 2024

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.

andzai1995 avatar andzai1995 commented on June 12, 2024

Yeah, 5.12.x is so strange when using LLVM=1, HOSTCC always fail to build fixdep.c.

I tried with 5.10.46, bug is present

from cmlfs.

owl4ce avatar owl4ce commented on June 12, 2024

Yeah, 5.12.x is so strange when using LLVM=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.

owl4ce avatar owl4ce commented on June 12, 2024

well, so Linux can't live without GNU core concept
https://wiki.osdev.org/Target_Triplet

from cmlfs.

dslm4515 avatar dslm4515 commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.