Andy-Python-Programmer / aero

Aero is a new modern, experimental, UNIX-like operating system following the monolithic kernel design. Supporting modern PC features such as long mode, 5-level paging, and SMP (multicore), to name a few.
https://aero.andypy.dev
GNU General Public License v3.0
1.16k stars 48 forks source link

Any usable aero.iso & disk.img which can be downloaded for a quick test? #109

Open limingth opened 12 months ago

limingth commented 12 months ago

I 've tried 3 days to build from source and still been stucked by all kinds of error like this:

[1] unwind.rs:177 (tid=4, pid=4) error cpu '0' panicked at 'called `Result::unwrap()` on an `Err` value: EntryNotFound'
[1] unwind.rs:181 (tid=4, pid=4) error aero_kernel/src/main.rs:204:21
[1] unwind.rs:185 (tid=4, pid=4) error 
[1] unwind.rs:110 (tid=4, pid=4) trace ---------------------------------- BACKTRACE -----------------------------------
[1] unwind.rs:147 (tid=4, pid=4) trace  0: 0xffffffff80053823 - rust_begin_unwind
[1] unwind.rs:147 (tid=4, pid=4) trace  1: 0xffffffff800d8215 - core::panicking::panic_fmt::he0ef9dac8b938339
[1] unwind.rs:147 (tid=4, pid=4) trace  2: 0xffffffff800d8675 - core::result::unwrap_failed::hde876a6a96296aa2
[1] unwind.rs:147 (tid=4, pid=4) trace  3: 0xffffffff8004e026 - core::result::Result<T,E>::unwrap::h79fbd27998fc04df
[1] unwind.rs:147 (tid=4, pid=4) trace  4: 0xffffffff80053e24 - aero_kernel::kernel_main_thread::he6ef85a90cd4927e
[1] unwind.rs:147 (tid=4, pid=4) trace  5: 0xffffffff8013bb18 - aero_kernel::AERO_SYSTEM_ALLOCATOR::h28ef31b44d263ea3
[1] unwind.rs:118 (tid=4, pid=4) trace  6: <guard page>

It's frustrating and almost discouraging/painful for a learner who wants to try out the Aero project.

Can someone who has successfully build up aero.iso & disk.img give us these 2 usable image files for downloading and testing?

limingth commented 12 months ago

Anyone can help? Yesterday,I just take 3 hours to download and compile the whole Redox project

It's satisfying and very fulfilling/enjoyable compared to the Aero project.

btw: I don't think it's a good idea to use ./aero.py --xxx for building whole project, it hides too much dependency info. use Makefile and dependency will be more clear.

Andy-Python-Programmer commented 12 months ago

Hi,

What did you run to compile it? Could you please provide the full command output. That error means that you likely haven't compiled the sysroot (using ./aero.py --sysroot).

Thanks.

limingth commented 12 months ago

Thanks @Andy-Python-Programmer for ur response!

Since ./aero.ry --sysroot never succeeds, I only do ./aero.py

here is my log

# ./aero.py 
error: host-rust not built as a part of the sysroot, skipping compilation of `userland/`
   Compiling aero_kernel v0.1.0 (/root/Github/RustOS/aero/src/aero_kernel)
...
     Finished release [optimized + debuginfo] target(s) in 32.10s
info: preparing ISO
info: creating disk image
+ echo 'sysroot: syncing base-files'
sysroot: syncing base-files
+ cp -r base-files/. sysroot/system-root/
+ IMAGE_PATH=build/disk.img
+ command -v sudo
/usr/bin/sudo
++ which sudo
+ SUID_BINARY=/usr/bin/sudo
+ rm -rf build/disk.img
+ dd if=/dev/zero bs=1G count=0 seek=512 of=build/disk.img
0+0 records in
0+0 records out
0 bytes copied, 0.000110198 s, 0.0 kB/s
+ parted -s build/disk.img mklabel gpt
+ parted -s build/disk.img mkpart primary 2048s 100%
+ lsmod
+ grep -q loop
+ echo 'mkimage.sh: `loop` kernel module not found, attempting to load'
mkimage.sh: `loop` kernel module not found, attempting to load
+ /usr/bin/sudo modprobe loop
+ /usr/bin/sudo losetup -Pf --show build/disk.img
++ cat loopback_dev
+ /usr/bin/sudo mkfs.ext2 /dev/loop0p1 -I128
mke2fs 1.45.5 (07-Jan-2020)
Discarding device blocks: done                            
Creating filesystem with 134217216 4k blocks and 33554432 inodes
Filesystem UUID: 6bf44510-2781-4b4f-8acd-12926a1e4dbf
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
    4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
    102400000

Allocating group tables: done                            
Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done     

+ rm -rf disk_image/
+ mkdir disk_image
++ cat loopback_dev
+ /usr/bin/sudo mount /dev/loop0p1 disk_image
+ /usr/bin/sudo cp -r -v sysroot/system-root/. disk_image/
'sysroot/system-root/./.bashrc' -> 'disk_image/./.bashrc'
'sysroot/system-root/./.curlrc' -> 'disk_image/./.curlrc'
'sysroot/system-root/./a' -> 'disk_image/./a'
'sysroot/system-root/./hello.asm' -> 'disk_image/./hello.asm'
'sysroot/system-root/./test.c' -> 'disk_image/./test.c'
'sysroot/system-root/./wallpaper.png' -> 'disk_image/./wallpaper.png'
+ pushd disk_image
~/Github/RustOS/aero/disk_image ~/Github/RustOS/aero
+ /usr/bin/sudo mkdir -p dev
+ /usr/bin/sudo mkdir -p home
+ /usr/bin/sudo mkdir -p tmp
+ /usr/bin/sudo mkdir -p proc
+ /usr/bin/sudo mkdir -p var
+ /usr/bin/sudo mkdir -p mnt
+ popd
~/Github/RustOS/aero
+ sync
+ /usr/bin/sudo umount disk_image/
++ cat loopback_dev
+ /usr/bin/sudo losetup -d /dev/loop0
+ sync
+ rm -rf loopback_dev
+ rm -rf disk_image
info: build completed in 68.40 seconds
# ls -l build/
total 4270612
-rw-r--r-- 1 root root     37148672 Sep 17 10:35 aero.iso
-rw-r--r-- 1 root root 549755813888 Sep 17 10:35 disk.img
drwxr-xr-x 3 root root         4096 Sep 17 10:35 iso_root

# qemu-system-x86_64 -cdrom build/aero.iso -m 1000M -smp 1 -serial stdio -drive file=build/disk.img,if=none,id=NVME1,format=raw -device nvme,drive=NVME1,serial=nvme --boot d -s -cpu max -nographic
QEMU 4.2.1 monitor - type 'help' for more information
(qemu) qemu-system-x86_64: -serial stdio: cannot use stdio by multiple character devices
qemu-system-x86_64: -serial stdio: could not connect serial device to character backend 'stdio'

# qemu-system-x86_64 -cdrom build/aero.iso -m 1000M -smp 1 -drive file=build/disk.img,if=none,id=NVME1,format=raw -device nvme,drive=NVME1,serial=nvme --boot d -s -cpu max -nographic

[0] arch/x86_64/mod.rs:142 info loaded paging
[0] arch/x86_64/mod.rs:145 info loaded heap
[0] arch/x86_64/mod.rs:162 info loaded bootstrap GDT
[0] arch/x86_64/mod.rs:178 info loaded IDT
[0] arch/x86_64/apic.rs:451 debug apic: detected APIC (addr=PhysAddr(0xfee00000), type=Xapic)
[0] arch/x86_64/interrupts/mod.rs:208 debug Disabled PIC
[0] arch/x86_64/mod.rs:181 info loaded APIC
[0] acpi/mod.rs:66 debug found RSDT at 0xffff80003e7e156f
[0] acpi/madt.rs:122 warn unknown MADT entry with id: 4
[0] arch/x86_64/mod.rs:186 info loaded ACPI
[0] arch/x86_64/mod.rs:190 info loaded TLS
[0] arch/x86_64/mod.rs:195 info loaded GDT
[0] main.rs:152 info loaded filesystem
[0] arch/x86_64/apic.rs:414 info registered redirect (vec=33, gsi=2)
[0] main.rs:155 info loaded timer
[0] main.rs:158 info loaded scheduler
[0] main.rs:163 info initialized kernel
[1] modules.rs:91 (tid=4, pid=4) debug Module { init: 0xffffffff800400e0, ty: Block } false
[1] modules.rs:91 (tid=4, pid=4) debug Module { init: 0xffffffff80051420, ty: Block } false
[1] modules.rs:91 (tid=4, pid=4) debug Module { init: 0xffffffff80056d60, ty: Block } false
[1] fs/devfs.rs:87 (tid=4, pid=4) debug installed device `card0`
[1] modules.rs:91 (tid=4, pid=4) debug Module { init: 0xffffffff80057840, ty: Block } false
[1] /root/.cargo/git/checkouts/lai-rs-cfbd9520fedc57ae/87d3b17/src/host.rs:80 (tid=4, pid=4) debug loaded AML table 'DSDT', total 5131 bytes of AML code.
[1] /root/.cargo/git/checkouts/lai-rs-cfbd9520fedc57ae/87d3b17/src/host.rs:80 (tid=4, pid=4) debug ACPI namespace created, total of 293 predefined objects.
[1] acpi/aml.rs:36 (tid=4, pid=4) debug aml: subsystem initialized
[1] modules.rs:91 (tid=4, pid=4) debug Module { init: 0xffffffff8009b680, ty: Block } false
[1] modules.rs:91 (tid=4, pid=4) debug Module { init: 0xffffffff800a2b00, ty: Block } false
[1] modules.rs:91 (tid=4, pid=4) debug Module { init: 0xffffffff8000cea0, ty: Other } false
[1] drivers/pci.rs:823 (tid=4, pid=4) debug PCI device (device=HostBridge, vendor=Intel)
[1] drivers/pci.rs:823 (tid=4, pid=4) debug PCI device (device=IsaBridge, vendor=Intel)
[1] drivers/pci.rs:823 (tid=4, pid=4) debug PCI device (device=IdeController, vendor=Intel)
[1] drivers/block/ide/mod.rs:113 (tid=4, pid=4) trace ide: starting ide
[1] drivers/block/ide/mod.rs:118 (tid=4, pid=4) warn ide: dma not supported
[1] drivers/pci.rs:823 (tid=4, pid=4) debug PCI device (device=OtherBridgeDevice, vendor=Intel)
[1] drivers/pci.rs:823 (tid=4, pid=4) debug PCI device (device=VgaCompatibleController, vendor=Qemu)
[1] drivers/pci.rs:823 (tid=4, pid=4) debug PCI device (device=EthernetController, vendor=Intel)
[1] drivers/e1000.rs:297 (tid=4, pid=4) trace e1000: MAC address 52:54:0:12:34:56
[1] arch/x86_64/apic.rs:414 (tid=4, pid=4) info registered redirect (vec=35, gsi=11)
[1] drivers/e1000.rs:356 (tid=4, pid=4) trace e1000: successfully initialized
[1] drivers/pci.rs:823 (tid=4, pid=4) debug PCI device (device=NvmeController, vendor=Intel)
[1] drivers/block/nvme/mod.rs:274 (tid=4, pid=4) trace nvme: setting up NVMe controller
[1] drivers/block/nvme/mod.rs:292 (tid=4, pid=4) trace nvme: version (major=1, minor=2, tertiary=0)
[1] drivers/block/nvme/mod.rs:204 (tid=4, pid=4) trace nvme: resetting the controller to enabled=false state
[1] drivers/block/nvme/mod.rs:204 (tid=4, pid=4) trace nvme: resetting the controller to enabled=true state
[1] drivers/block/nvme/mod.rs:348 (tid=4, pid=4) trace nvme: identifed controller (vendor=32902, subsystem_vendor=6900)
[1] drivers/block/nvme/mod.rs:445 (tid=4, pid=4) trace nvme: identified namespace (blocks=1073741824, block_size=512, size=549755813888)
[1] drivers/block/nvme/mod.rs:457 (tid=4, pid=4) trace nvme: successfully initialized NVMe controller
[1] fs/devfs.rs:87 (tid=4, pid=4) debug installed device `nvme0n1`
[1] fs/block/mod.rs:266 (tid=4, pid=4) debug block: installed block device nvme0n1
[1] modules.rs:99 (tid=4, pid=4) info loaded PCI driver
[1] fs/block/mod.rs:401 (tid=4, pid=4) info block: found GPT on nvme0n1!
[1] fs/block/mod.rs:412 (tid=4, pid=4) info gpt: found partition (name=`primary`, start=0x800, size0x3fffefff)!
[1] fs/devfs.rs:87 (tid=4, pid=4) debug installed device `nvme0n1p0`
[1] fs/block/mod.rs:266 (tid=4, pid=4) debug block: installed block device nvme0n1p0
[1] unwind.rs:177 (tid=4, pid=4) error cpu '0' panicked at 'How's this possible?'
[1] unwind.rs:181 (tid=4, pid=4) error aero_kernel/src/fs/mod.rs:305:20
[1] unwind.rs:185 (tid=4, pid=4) error 
[1] unwind.rs:110 (tid=4, pid=4) trace ---------------------------------- BACKTRACE -----------------------------------
[1] unwind.rs:147 (tid=4, pid=4) trace  0: 0xffffffff80053823 - rust_begin_unwind
[1] unwind.rs:147 (tid=4, pid=4) trace  1: 0xffffffff800d8215 - core::panicking::panic_fmt::he0ef9dac8b938339
[1] unwind.rs:147 (tid=4, pid=4) trace  2: 0xffffffff800d9aea - core::option::expect_failed::h018eee949f6f18fa
[1] unwind.rs:147 (tid=4, pid=4) trace  3: 0xffffffff8006f2fd - aero_kernel::fs::lookup_path::h77fea845059a7fe4
[1] unwind.rs:147 (tid=4, pid=4) trace  4: 0xffffffff80041bef - aero_kernel::fs::devfs::init::h5ade465edb303fcf
[1] unwind.rs:147 (tid=4, pid=4) trace  5: 0xffffffff800529fa - aero_kernel::fs::block::launch::ha2bf207fed8a23a8
[1] unwind.rs:147 (tid=4, pid=4) trace  6: 0xffffffff8009beec - aero_kernel::modules::init::h3a85ad33a2dca4fb
[1] unwind.rs:147 (tid=4, pid=4) trace  7: 0xffffffff80053d1e - aero_kernel::kernel_main_thread::he6ef85a90cd4927e
[1] unwind.rs:147 (tid=4, pid=4) trace  8: 0xffffffff8013bb18 - aero_kernel::AERO_SYSTEM_ALLOCATOR::h28ef31b44d263ea3
[1] unwind.rs:118 (tid=4, pid=4) trace  9: <guard page>
Andy-Python-Programmer commented 12 months ago

Since ./aero.ry --sysroot never succeeds

Can you post the logs for that?

jwpjrdev commented 11 months ago

the everlasting reminder to rewrite aero build 😂On 20 Sep 2023, at 03:48, Anhad Singh @.***> wrote:

Since ./aero.ry --sysroot never succeeds

Can you post the logs for that?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

____CONFIDENTIALITY NOTICE:The information transmitted in this electronic message may be legally privileged and confidential under applicable law, including the Family Educational Rights and Privacy Act (FERPA) and the Health Insurance Portability and Accountability Act (HIPAA), and is intended only for the person or entity to which it is addressed. If the recipient of this message is not the above named intended recipient, you are hereby notified that any review, retransmission, dissemination, copy, disclosure or other use of, or taking any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this electronic transmission in error, please notify Mississinewa Community School Corporation at (765) 674-8528, and purge the communication immediately from any computers, storage devices, paper or other media without making any copy or distribution thereof. Thank you for your cooperation.

Andy-Python-Programmer commented 11 months ago

Yeah but I need spare time for that which I am short off.

limingth commented 11 months ago

All I need is a quick try by an image-file download url and a qemu command line.

I've done these in a Makefile for Redox project like this:

https://gitee.com/chenlongos/redox-release/raw/master/Makefile

limingth commented 11 months ago

IMG_7246

btw: Has anyone succeeded in booting aero.iso in a usb-disk as #1 boot device for a pc computer like above picture?

Since ./aero.ry --sysroot never succeeds

Can you post the logs for that?

make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/root/Github/aero/sysroot/tool-builds/host-gcc/mpc/tools'
make[3]: Leaving directory '/root/Github/aero/sysroot/tool-builds/host-gcc/mpc/tools'
make[3]: Entering directory '/root/Github/aero/sysroot/tool-builds/host-gcc/mpc'
make[3]: Leaving directory '/root/Github/aero/sysroot/tool-builds/host-gcc/mpc'
make[2]: Leaving directory '/root/Github/aero/sysroot/tool-builds/host-gcc/mpc'
make[1]: Leaving directory '/root/Github/aero/sysroot/tool-builds/host-gcc/mpc'
make[1]: Entering directory '/root/Github/aero/sysroot/tool-builds/host-gcc/gcc'
g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/root/Github/aero/bundled/gcc/gcc -I/root/Github/aero/bundled/gcc/gcc/. -I/root/Github/aero/bundled/gcc/gcc/../include  -I/root/Github/aero/bundled/gcc/gcc/../libcpp/include -I/root/Github/aero/bundled/gcc/gcc/../libcody -I/root/Github/aero/sysroot/tool-builds/host-gcc/./gmp -I/root/Github/aero/bundled/gcc/gmp -I/root/Github/aero/sysroot/tool-builds/host-gcc/./mpfr/src -I/root/Github/aero/bundled/gcc/mpfr/src -I/root/Github/aero/bundled/gcc/mpc/src  -I/root/Github/aero/bundled/gcc/gcc/../libdecnumber -I/root/Github/aero/bundled/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/root/Github/aero/bundled/gcc/gcc/../libbacktrace -I/root/Github/aero/sysroot/tool-builds/host-gcc/./isl/include -I/root/Github/aero/bundled/gcc/isl/include  -o cc1-checksum.o -MT cc1-checksum.o -MMD -MP -MF ./.deps/cc1-checksum.TPo cc1-checksum.cc
g++  -fno-PIE -c  -DIN_GCC_FRONTEND -O2 -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/root/Github/aero/bundled/gcc/gcc -I/root/Github/aero/bundled/gcc/gcc/. -I/root/Github/aero/bundled/gcc/gcc/../include  -I/root/Github/aero/bundled/gcc/gcc/../libcpp/include -I/root/Github/aero/bundled/gcc/gcc/../libcody -I/root/Github/aero/sysroot/tool-builds/host-gcc/./gmp -I/root/Github/aero/bundled/gcc/gmp -I/root/Github/aero/sysroot/tool-builds/host-gcc/./mpfr/src -I/root/Github/aero/bundled/gcc/mpfr/src -I/root/Github/aero/bundled/gcc/mpc/src  -I/root/Github/aero/bundled/gcc/gcc/../libdecnumber -I/root/Github/aero/bundled/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/root/Github/aero/bundled/gcc/gcc/../libbacktrace -I/root/Github/aero/sysroot/tool-builds/host-gcc/./isl/include -I/root/Github/aero/bundled/gcc/isl/include  -o cc1plus-checksum.o -MT cc1plus-checksum.o -MMD -MP -MF ./.deps/cc1plus-checksum.TPo cc1plus-checksum.cc
g++ -no-pie   -O2 -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o lto1 \
    lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o lto/lto-partition.o lto/lto-symtab.o lto/lto-common.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a -L/root/Github/aero/sysroot/tool-builds/host-gcc/./isl/.libs  -lisl -L/root/Github/aero/sysroot/tool-builds/host-gcc/./gmp/.libs -L/root/Github/aero/sysroot/tool-builds/host-gcc/./mpfr/src/.libs -L/root/Github/aero/sysroot/tool-builds/host-gcc/./mpc/src/.libs -lmpc -lmpfr -lgmp -rdynamic  -L./../zlib -lz  libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
g++ -no-pie   -O2 -pipe   -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o lto-dump \
    lto/lto-lang.o lto/lto-object.o attribs.o lto/lto-partition.o lto/lto-symtab.o lto/lto-dump.o lto/lto-common.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a -L/root/Github/aero/sysroot/tool-builds/host-gcc/./isl/.libs  -lisl -L/root/Github/aero/sysroot/tool-builds/host-gcc/./gmp/.libs -L/root/Github/aero/sysroot/tool-builds/host-gcc/./mpfr/src/.libs -L/root/Github/aero/sysroot/tool-builds/host-gcc/./mpc/src/.libs -lmpc -lmpfr -lgmp -rdynamic  -L./../zlib -lz  libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
/usr/bin/ld: builtins.o: in function `expand_builtin_longjmp(rtx_def*, rtx_def*)':
builtins.cc:(.text+0x30d4): undefined reference to `gen_blockage()'
/usr/bin/ld: builtins.o: in function `expand_builtin_nonlocal_goto(tree_node*)':
builtins.cc:(.text+0x5ed4): undefined reference to `gen_blockage()'
/usr/bin/ld: builtins.o: in function `expand_builtin_setjmp_receiver(rtx_def*)':
builtins.cc:(.text+0xac65): undefined reference to `gen_blockage()'
/usr/bin/ld: builtins.cc:(.text+0xac91): undefined reference to `gen_blockage()'
/usr/bin/ld: cfgrtl.o: in function `emit_nop_for_unique_locus_between(basic_block_def*, basic_block_def*)':
cfgrtl.cc:(.text+0xe6d): undefined reference to `gen_nop()'
/usr/bin/ld: cfgrtl.o: in function `cfg_layout_finalize()':
cfgrtl.cc:(.text+0x6a85): undefined reference to `gen_nop()'
/usr/bin/ld: except.o: in function `(anonymous namespace)::pass_convert_to_eh_region_ranges::execute(function*)':
except.cc:(.text+0x62ab): undefined reference to `gen_nop()'
/usr/bin/ld: explow.o: in function `probe_stack_range(long, rtx_def*)':
explow.cc:(.text+0x2425): undefined reference to `gen_blockage()'
/usr/bin/ld: explow.o: in function `anti_adjust_stack_and_probe_stack_clash(rtx_def*)':
explow.cc:(.text+0x2d2a): undefined reference to `gen_blockage()'
/usr/bin/ld: explow.cc:(.text+0x2e01): undefined reference to `gen_blockage()'
/usr/bin/ld: explow.cc:(.text+0x303d): undefined reference to `gen_blockage()'
/usr/bin/ld: builtins.o: in function `expand_builtin_longjmp(rtx_def*, rtx_def*)':
builtins.cc:(.text+0x30d4): undefined reference to `gen_blockage()'
/usr/bin/ld: builtins.o: in function `expand_builtin_nonlocal_goto(tree_node*)':
builtins.cc:(.text+0x5ed4): undefined reference to `gen_blockage()'
/usr/bin/ld: builtins.o: in function `expand_builtin_setjmp_receiver(rtx_def*)':
builtins.cc:(.text+0xac65): undefined reference to `gen_blockage()'
/usr/bin/ld: builtins.cc:(.text+0xac91): undefined reference to `gen_blockage()'
/usr/bin/ld: function.o: in function `expand_function_end()':
function.cc:(.text+0xb291): undefined reference to `gen_blockage()'
/usr/bin/ld: function.o:function.cc:(.text+0xbc92): more undefined references to `gen_blockage()' follow
/usr/bin/ld: gcse.o: in function `can_assign_to_reg_without_clobbers_p(rtx_def*, machine_mode)':
gcse.cc:(.text+0x1a7b): undefined reference to `added_clobbers_hard_reg_p(int)'
/usr/bin/ld: cfgrtl.o: in function `emit_nop_for_unique_locus_between(basic_block_def*, basic_block_def*)':
cfgrtl.cc:(.text+0xe6d): undefined reference to `gen_nop()'
/usr/bin/ld: cfgrtl.o: in function `cfg_layout_finalize()':
cfgrtl.cc:(.text+0x6a85): undefined reference to `gen_nop()'
/usr/bin/ld: gimple-fold.o: in function `maybe_fold_comparisons_from_match_pd(tree_node*, tree_code, tree_code, tree_node*, tree_node*, tree_code, tree_node*, tree_node*, basic_block_def*)':
gimple-fold.cc:(.text+0x1226): undefined reference to `gimple_match_op::resimplify(gimple**, tree_node* (*)(tree_node*))'
/usr/bin/ld: gimple-fold.o: in function `gimple_build(gimple_stmt_iterator*, bool, gsi_iterator_update, unsigned int, tree_code, tree_node*, tree_node*)':
gimple-fold.cc:(.text+0x72f6): undefined reference to `gimple_simplify(tree_code, tree_node*, tree_node*, gimple**, tree_node* (*)(tree_node*))'
/usr/bin/ld: gimple-fold.o: in function `gimple_build(gimple_stmt_iterator*, bool, gsi_iterator_update, unsigned int, tree_code, tree_node*, tree_node*, tree_node*)':
gimple-fold.cc:(.text+0x77a4): undefined reference to `gimple_simplify(tree_code, tree_node*, tree_node*, tree_node*, gimple**, tree_node* (*)(tree_node*))'
/usr/bin/ld: gimple-fold.o: in function `gimple_build(gimple_stmt_iterator*, bool, gsi_iterator_update, unsigned int, tree_code, tree_node*, tree_node*, tree_node*, tree_node*)':
gimple-fold.cc:(.text+0x7914): undefined reference to `gimple_simplify(tree_code, tree_node*, tree_node*, tree_node*, tree_node*, gimple**, tree_node* (*)(tree_node*))'
/usr/bin/ld: gimple-fold.o: in function `gimple_build(gimple_stmt_iterator*, bool, gsi_iterator_update, unsigned int, combined_fn, tree_node*, tree_node*)':
gimple-fold.cc:(.text+0x7bf8): undefined reference to `gimple_simplify(combined_fn, tree_node*, tree_node*, gimple**, tree_node* (*)(tree_node*))'
/usr/bin/ld: gimple-fold.o: in function `gimple_build(gimple_stmt_iterator*, bool, gsi_iterator_update, unsigned int, combined_fn, tree_node*, tree_node*, tree_node*)':
gimple-fold.cc:(.text+0x7db3): undefined reference to `gimple_simplify(combined_fn, tree_node*, tree_node*, tree_node*, gimple**, tree_node* (*)(tree_node*))'
/usr/bin/ld: gimple-fold.o: in function `gimple_build(gimple_stmt_iterator*, bool, gsi_iterator_update, unsigned int, combined_fn, tree_node*, tree_node*, tree_node*, tree_node*)':
gimple-fold.cc:(.text+0x7f82): undefined reference to `gimple_simplify(combined_fn, tree_node*, tree_node*, tree_node*, tree_node*, gimple**, tree_node* (*)(tree_node*))'
/usr/bin/ld: gimple-fold.o: in function `gimple_fold_stmt_to_constant_1(gimple*, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*))':
gimple-fold.cc:(.text+0xaeb9): undefined reference to `gimple_simplify(gimple*, gimple_match_op*, gimple**, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*))'
/usr/bin/ld: gimple-fold.cc:(.text+0xb09b): undefined reference to `mprts_hook'
/usr/bin/ld: gimple-fold.o: in function `fold_stmt_1(gimple_stmt_iterator*, bool, tree_node* (*)(tree_node*))':
gimple-fold.cc:(.text+0xf49d): undefined reference to `gimple_simplify(gimple*, gimple_match_op*, gimple**, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*))'
/usr/bin/ld: gimple-fold.cc:(.text+0xf637): undefined reference to `maybe_push_res_to_seq(gimple_match_op*, gimple**, tree_node*)'
/usr/bin/ld: gimple-fold.cc:(.text+0x103ed): undefined reference to `maybe_push_res_to_seq(gimple_match_op*, gimple**, tree_node*)'
/usr/bin/ld: gimple-fold.cc:(.text+0x10bee): undefined reference to `maybe_build_generic_op(gimple_match_op*)'
/usr/bin/ld: except.o: in function `(anonymous namespace)::pass_convert_to_eh_region_ranges::execute(function*)':
except.cc:(.text+0x62ab): undefined reference to `gen_nop()'
/usr/bin/ld: explow.o: in function `probe_stack_range(long, rtx_def*)':
explow.cc:(.text+0x2425): undefined reference to `gen_blockage()'
/usr/bin/ld: explow.o: in function `anti_adjust_stack_and_probe_stack_clash(rtx_def*)':
explow.cc:(.text+0x2d2a): undefined reference to `gen_blockage()'
/usr/bin/ld: explow.cc:(.text+0x2e01): undefined reference to `gen_blockage()'
/usr/bin/ld: explow.cc:(.text+0x303d): undefined reference to `gen_blockage()'
/usr/bin/ld: function.o: in function `expand_function_end()':
function.cc:(.text+0xb291): undefined reference to `gen_blockage()'
/usr/bin/ld: function.o:function.cc:(.text+0xbc92): more undefined references to `gen_blockage()' follow
/usr/bin/ld: gcse.o: in function `can_assign_to_reg_without_clobbers_p(rtx_def*, machine_mode)':
gcse.cc:(.text+0x1a7b): undefined reference to `added_clobbers_hard_reg_p(int)'