-
Notifications
You must be signed in to change notification settings - Fork 7
I can't build nabla-linux #1
Copy link
Copy link
Open
Description
Hello, I'm interested in the project.
Thus, I tried to build nabla-linux . But I got an error at make in test directory.
../musl-libc/build/bin/musl-gcc -O0 -ggdb -nostdlib -shared -fPIC -fomit-frame-pointer test.c -o test
make: ../musl-libc/build/bin/musl-gcc: Command not found
make: *** [Makefile:31: test] Error 127
Of course, I built linux, musl, and busybox and ran it at the root directory.
Can I use it? I don't know where the problem is.
Using docker
It succeeded in running a docker container (nabla-linux) with docker run --rm -it kollerr/linux-um-nommu
Linux version 5.3.0-rc1-00007-g234bfaf-dirty (kollerr@kollerr-ThinkPad-P50) (gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1~16.04)) #164 Thu Jun 25 17:54:27 EDT 2020
On node 0 totalpages: 264164
Normal zone: 3612 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 264164 pages, LIFO batch:0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists, mobility grouping on. Total pages: 260552
Kernel command line: rw ubd0=layer,./alpine-test.ext3 mem=1024m loglevel=10 init=/init.sh sh root=98:0
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
mem_init 60d91000
Memory: 1025052K/1056656K available (3632K kernel code, 374K rwdata, 1476K rodata, 123K init, 194K bss, 31604K reserved, 0K cma-reserved)
NR_IRQS: 15
clocksource: timer: mask: 0xffffffffffffffff max_cycles: 0x1cd42e205, max_idle_ns: 881590404426 ns
0.00 BogoMIPS (lpj=1)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
Checking that host ptys support output SIGIO...Yes
devtmpfs: initialized
random: get_random_u32 called from bucket_table_alloc+0x127/0x154 with crng_init=0
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: 0, 6144 bytes, linear)
NET: Registered protocol family 16
vdso_start=6051de58 um_vdso_addr=0 pg_um_vdso=900a6000
map vdso um_vdso_addr=900a6000
clocksource: Switched to clocksource timer
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
NET: Registered protocol family 1
printk: console [stderr0] disabled
activate_fd: (fd=5) called current=9002a040
activate_fd: allocating new IRQ entry
activate_fd: (fd=5) success
workingset: timestamp_bits=62 max_order=18 bucket_order=0
io scheduler mq-deadline registered
io scheduler kyber registered
loop: module loaded
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
printk: console [tty0] enabled
Initializing software serial port version 1
Creating "layer" as COW file for "./alpine-test.ext3"
activate_fd: (fd=1) called current=9002a040
activate_fd: allocating new IRQ entry
pty_output_sigio=1 pty_close_sigio=1
activate_fd: (fd=1) success
activate_fd: (fd=0) called current=9002a040
activate_fd: allocating new IRQ entry
pty_output_sigio=1 pty_close_sigio=1
activate_fd: (fd=0) success
EXT4-fs (ubda): mounting ext3 file system using the ext4 subsystem
EXT4-fs (ubda): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext3 filesystem) on device 98:0.
devtmpfs: mounted
This architecture does not have kernel memory protection.
Run /init.sh as init process
ifconfig: SIOCSIFADDR: No such device
ip: can't find device 'eth0'
generating "entropy"...for 1 iters
Is possible apk update?
/ # apk update
random: fast init done
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.10/main: temporary error (try again later)
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.10/community: temporary error (try again later)
v3.10.3-66-g967440f6a7 [http://dl-cdn.alpinelinux.org/alpine/v3.10/main]
v3.10.3-64-g77cd149615 [http://dl-cdn.alpinelinux.org/alpine/v3.10/community]
2 errors; 10341 distinct packages available
And, I tried to git clone. I got an error error: cannot fork() for git-remote-https: Invalid argument
Is there any way to instead fork()? How can I run git clone?
System environments
I work on VM.
VM (KVM/QEMU)
- OS - ubuntu 20.04 server
- CPU - 8 cores (intel core processor)
- Memory - 8192MB
Host
- OS - ubuntu 16.04 server
- CPU - 8 cores (intel core processor)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels