← Back to context Comment by silver_sun 20 days ago They said it builds Linux 6.9, maybe you are trying to compile a newer version there? 3 comments silver_sun Reply MaskRay 20 days ago git switch v6.9The riscv build succeeded. For the x86-64 build I ran into % make O=/tmp/linux/x86 ARCH=x86_64 CC=/tmp/p/claudes-c-compiler/target/release/ccc-x86 HOSTCC=/tmp/p/claudes-c-compiler/target/release/ccc-x86 LDFLAGS=-fuse-ld=bfd LD=ld.bfd -j30 vmlinux -k make[1]: Entering directory '/tmp/linux/x86' ... CC arch/x86/platform/intel/iosf_mbi.o ccc: error: lgdtl requires memory operand AR arch/x86/platform/intel-mid/built-in.a make[6]: *** [/home/ray/Dev/linux/scripts/Makefile.build:362: arch/x86/realmode/rm/wakeup_asm.o] Error 1 ld.bfd: arch/x86/entry/vdso/vdso32/sigreturn.o: warning: relocation in read-only section `.eh_frame' ld.bfd: error in arch/x86/entry/vdso/vdso32/sigreturn.o(.eh_frame); no .eh_frame_hdr table will be created ld.bfd: warning: creating DT_TEXTREL in a shared object ccc: error: unsupported pushw operand There are many other errors.tinyconfig and allnoconfig have fewer errors. RELOCS arch/x86/realmode/rm/realmode.relocs Invalid absolute R_386_32 relocation: real_mode_seg Still very impressive. pertymcpert 20 days ago They said that it wasn't able to support 16 bit real mode. Needs to call gcc for that. 63stack 20 days ago I feel like I could have done this in a much shorter time, for much less tokens, but still very impressive!
MaskRay 20 days ago git switch v6.9The riscv build succeeded. For the x86-64 build I ran into % make O=/tmp/linux/x86 ARCH=x86_64 CC=/tmp/p/claudes-c-compiler/target/release/ccc-x86 HOSTCC=/tmp/p/claudes-c-compiler/target/release/ccc-x86 LDFLAGS=-fuse-ld=bfd LD=ld.bfd -j30 vmlinux -k make[1]: Entering directory '/tmp/linux/x86' ... CC arch/x86/platform/intel/iosf_mbi.o ccc: error: lgdtl requires memory operand AR arch/x86/platform/intel-mid/built-in.a make[6]: *** [/home/ray/Dev/linux/scripts/Makefile.build:362: arch/x86/realmode/rm/wakeup_asm.o] Error 1 ld.bfd: arch/x86/entry/vdso/vdso32/sigreturn.o: warning: relocation in read-only section `.eh_frame' ld.bfd: error in arch/x86/entry/vdso/vdso32/sigreturn.o(.eh_frame); no .eh_frame_hdr table will be created ld.bfd: warning: creating DT_TEXTREL in a shared object ccc: error: unsupported pushw operand There are many other errors.tinyconfig and allnoconfig have fewer errors. RELOCS arch/x86/realmode/rm/realmode.relocs Invalid absolute R_386_32 relocation: real_mode_seg Still very impressive. pertymcpert 20 days ago They said that it wasn't able to support 16 bit real mode. Needs to call gcc for that. 63stack 20 days ago I feel like I could have done this in a much shorter time, for much less tokens, but still very impressive!
pertymcpert 20 days ago They said that it wasn't able to support 16 bit real mode. Needs to call gcc for that.
63stack 20 days ago I feel like I could have done this in a much shorter time, for much less tokens, but still very impressive!
git switch v6.9
The riscv build succeeded. For the x86-64 build I ran into
There are many other errors.
tinyconfig and allnoconfig have fewer errors.
Still very impressive.
They said that it wasn't able to support 16 bit real mode. Needs to call gcc for that.
I feel like I could have done this in a much shorter time, for much less tokens, but still very impressive!