Comments (2)
So I uncommented CFLAGS += -fstack-size-section
and created a symlink sudo ln -s /usr/lib/llvm-9/bin/clang /usr/bin/clang
and now make says
CC kernel/main.c
CC kernel/task.c
CC kernel/ipc.c
CC kernel/syscall.c
CC kernel/memory.c
CC kernel/printk.c
CC kernel/kdebug.c
CC kernel/arch/x64/task.c
CC kernel/arch/x64/vm.c
CC kernel/arch/x64/serial.c
CC servers/kvs/main.c
CC libs/std/init.c
CC libs/std/syscall.c
CC libs/std/printf.c
CC libs/std/malloc.c
CC libs/std/io.c
CC libs/std/lookup.c
CC libs/std/session.c
CC libs/std/async.c
CC libs/std/arch/x64/start.S
LD build/user/libs/std.o
CC libs/stubs/tcpip.c
LD build/user/libs/stubs.o
CC libs/common/string.c
CC libs/common/vprintf.c
CC libs/common/ubsan.c
CC libs/common/arch/x64/memcpy.S
LD build/user/kvs.debug.elf
SYMBOLS build/user/kvs.debug.elf
STRIP build/user/kvs.elf
CC servers/tcpip/main.c
CC servers/tcpip/arp.c
CC servers/tcpip/device.c
CC servers/tcpip/dhcp.c
CC servers/tcpip/ethernet.c
CC servers/tcpip/ipv4.c
CC servers/tcpip/mbuf.c
CC servers/tcpip/tcp.c
CC servers/tcpip/udp.c
CC servers/tcpip/stats.c
LD build/user/tcpip.debug.elf
SYMBOLS build/user/tcpip.debug.elf
STRIP build/user/tcpip.elf
CC servers/ps2kbd/main.c
LD build/user/ps2kbd.debug.elf
SYMBOLS build/user/ps2kbd.debug.elf
STRIP build/user/ps2kbd.elf
CC servers/display/main.c
LD build/user/display.debug.elf
SYMBOLS build/user/display.debug.elf
STRIP build/user/display.elf
CC servers/e1000/main.c
CC servers/e1000/e1000.c
CC servers/e1000/pci.c
LD build/user/e1000.debug.elf
SYMBOLS build/user/e1000.debug.elf
STRIP build/user/e1000.elf
CC servers/shell/main.c
LD build/user/shell.debug.elf
SYMBOLS build/user/shell.debug.elf
STRIP build/user/shell.elf
CC servers/webapi/main.c
LD build/user/webapi.debug.elf
SYMBOLS build/user/webapi.debug.elf
STRIP build/user/webapi.elf
CC servers/benchmark/main.c
LD build/user/benchmark.debug.elf
SYMBOLS build/user/benchmark.debug.elf
STRIP build/user/benchmark.elf
CC servers/hello/main.c
LD build/user/hello.debug.elf
SYMBOLS build/user/hello.debug.elf
STRIP build/user/hello.elf
CC servers/init/main.c
CC servers/init/pages.c
LD build/user/init.debug.elf
SYMBOLS build/user/init.debug.elf
STRIP build/user/init.elf
OBJCOPY build/init.bin
llvm-objcopy-6.0: 'build/user/init.elf': The file was not recognized as a valid object file
Makefile:107: recipe for target 'build/init.bin' failed
make: *** [build/init.bin] Error 1
from resea.
LLVM/Clang 6.x is too old to build Resea. Could you try with version 8.x or higher?
Also, LLVM_SUFFIX
option would be helpful:
$ make LLVM_SUFFIX=-8 run
from resea.
Related Issues (20)
- Improve https://resea.org/interfaces
- Live Update
- Porting Flutter HOT 1
- SQLite as an alternative to file system
- Slab Allocator HOT 1
- GUI Server
- Hardware Virtualization API like Linux's KVM HOT 1
- UEFI stub
- RISC-V Support
- Introduce Rump Kernel
- Introduce Linux Kernel Library
- IPv6 Support HOT 2
- Improve Rust support
- Seamless Linux Environment like WSL2
- Porting to Raspberry Pi Pico
- Rewrite the kernel in Rust (2nd try) HOT 2
- Support the handle type in IPC HOT 2
- Build error HOT 6
- Asking an advice. HOT 1
- "sound_data.h" not found when building with hdaudio experimental server 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 resea.