GithubHelp home page GithubHelp logo

op5-q / kernel_oneplus_msm8998 Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 930.97 MB

based on Josh's work on pie(https://github.com/EAS-Project/op5-kernel/tree/lineage-16.0-master), upstreamed and other things that you do on a kernel.

License: Other

Makefile 0.25% Shell 0.05% C 96.32% Assembly 1.43% C++ 1.26% Objective-C 0.43% Perl 0.15% Awk 0.01% Python 0.05% GDB 0.01% Yacc 0.02% Lex 0.01% UnrealScript 0.01% SmPL 0.01% Gherkin 0.01% XS 0.01% Roff 0.01% Clojure 0.01% M4 0.01% Raku 0.01%

kernel_oneplus_msm8998's People

Watchers

 avatar  avatar  avatar

Forkers

ryne007

kernel_oneplus_msm8998's Issues

compile issue: Cannot use CONFIG_LTO_CLANG: requires LLD

Hello
I just started learning kernel compilation, so I fork your kernel source code and use the clang tool at https://github.com/kdrag0n/proton-clang
this is my Compile command
#!/bin/bash
args="-j$(nproc –all)
O=out
ARCH=arm64
SUBARCH=arm64
CLANG_TRIPLE=aarch64-linux-gnu-
CROSS_COMPILE=${HOME}/clang-proton/bin/aarch64-linux-gnu-
CC=${HOME}/clang-proton/bin/clang
CROSS_COMPILE_ARM32=${HOME}/clang-proton/bin/arm-linux-gnueabi-"
make ${args} oneplus5_defconfig
make ${args}

then
it failed as
VDSOA arch/arm64/kernel/vdso/sigreturn.o
VDSOL arch/arm64/kernel/vdso/vdso.so.dbg
VDSOSYM include/generated/vdso-offsets.h
Cannot use CONFIG_LTO_CLANG: requires LLD
make[1]: *** [/root/op5/Makefile:1161: prepare] Error 1
make[1]: Leaving directory ‘/root/op5/out’
make: *** [Makefile:152: sub-make] Error 2
root@vultr:~/op5#

Complete log as fllo
I just started learning kernel compilation, so I fork your kernel source code and use the clang tool at https://github.com/kdrag0n/proton-clang
this is my Compile command
#!/bin/bash
args="-j$(nproc –all)
O=out
ARCH=arm64
SUBARCH=arm64
CLANG_TRIPLE=aarch64-linux-gnu-
CROSS_COMPILE=${HOME}/clang-proton/bin/aarch64-linux-gnu-
CC=${HOME}/clang-proton/bin/clang
CROSS_COMPILE_ARM32=${HOME}/clang-proton/bin/arm-linux-gnueabi-"
make ${args} oneplus5_defconfig
make ${args}

then
it failed as
VDSOA arch/arm64/kernel/vdso/sigreturn.o
VDSOL arch/arm64/kernel/vdso/vdso.so.dbg
VDSOSYM include/generated/vdso-offsets.h
Cannot use CONFIG_LTO_CLANG: requires LLD
make[1]: *** [/root/op5/Makefile:1161: prepare] Error 1
make[1]: Leaving directory ‘/root/op5/out’
make: *** [Makefile:152: sub-make] Error 2
root@vultr:~/op5#

Complete log as https://pastebin.com/p4Z3FNmq

Looking forward to your reply

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.