Ok, I've downloaded coreboot, did it /make menuconfig /and saved configuration. Then I wrote
$ make
/Cloning SeaBIOS from Git Cloning into /home/denis/Загрузки/coreboot/build/seabios... remote: Counting objects: 7460, done. remote: Compressing objects: 100% (2358/2358), done. remote: Total 7460 (delta 5915), reused 6374 (delta 5096) Receiving objects: 100% (7460/7460), 1.77 MiB | 269 KiB/s, done. Resolving deltas: 100% (5915/5915), done. Checking out SeaBIOS revision e66fb31eac3e6be6aaab548c229af9bb1ba55c33 Already on 'master' Switched to a new branch 'coreboot' CONFIG SeaBIOS e66fb31eac3e6be6aaab548c229af9bb1ba55c33 The version of LD on this system does not properly handle alignments. As a result, this project can not be built.
The problem may be the result of this LD bug report: http://sourceware.org/bugzilla/show_bug.cgi?id=12726
Please update to a working version of binutils and retry. Makefile:75: *** "Please upgrade GCC and/or binutils". Останов. make[1]: *** [config] Error 2 make: *** [seabios] Error 2
/Then, I tried
/$ make crossgcc/
Thereafter
/$ make/
/`IntelDisplayType' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/vgahooks.c.170' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `IntelDisplayId' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/vgahooks.c.170' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `pmode_IDT_info' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.142' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `rmode_IDT_info' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.132' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `RamSize' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.14' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/mouse.c.104' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/mouse.c.104' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `RamSize' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.14' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `e820_count' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/system.c.295' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `e820_list' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/system.c.294' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `cdemu_drive_gf' referenced in section `.text.handle_13' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/cdrom.c.20' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `pmode_IDT_info' referenced in section `.text.asm.transition32' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.142' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `rombios32_gdt_48' referenced in section `.text.asm.transition32' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.166' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `rmode_IDT_info' referenced in section `.text.asm.transition16' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.132' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `pmode_IDT_info' referenced in section `.text.asm.export.entry_elf' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.142' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `rombios32_gdt_48' referenced in section `.text.asm.export.entry_elf' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.166' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `HaveRunPost' referenced in section `.fixedaddr.0xe05b' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/resume.c.18' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o make[2]: *** [/home/denis/Загрузки/coreboot/build/seabios/out/rom16.o] Ошибка 1 make[1]: *** [build] Error 2 make: *** [seabios] Error 2/
Please, help me fixed this problem.
Best Regards, *Denis*
/
/
Did you try to "make clean" before re-making with the new gcc?
On Sun, Mar 04, 2012 at 01:02:40AM +0400, Денис wrote:
Ok, I've downloaded coreboot, did it /make menuconfig /and saved configuration. Then I wrote
$ make
/Cloning SeaBIOS from Git Cloning into /home/denis/Загрузки/coreboot/build/seabios... remote: Counting objects: 7460, done. remote: Compressing objects: 100% (2358/2358), done. remote: Total 7460 (delta 5915), reused 6374 (delta 5096) Receiving objects: 100% (7460/7460), 1.77 MiB | 269 KiB/s, done. Resolving deltas: 100% (5915/5915), done. Checking out SeaBIOS revision e66fb31eac3e6be6aaab548c229af9bb1ba55c33 Already on 'master' Switched to a new branch 'coreboot' CONFIG SeaBIOS e66fb31eac3e6be6aaab548c229af9bb1ba55c33 The version of LD on this system does not properly handle alignments. As a result, this project can not be built.
The problem may be the result of this LD bug report: http://sourceware.org/bugzilla/show_bug.cgi?id=12726
Please update to a working version of binutils and retry. Makefile:75: *** "Please upgrade GCC and/or binutils". Останов. make[1]: *** [config] Error 2 make: *** [seabios] Error 2
/Then, I tried
/$ make crossgcc/
Thereafter
/$ make/
/`IntelDisplayType' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/vgahooks.c.170' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `IntelDisplayId' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/vgahooks.c.170' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `pmode_IDT_info' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.142' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `rmode_IDT_info' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.132' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `RamSize' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.14' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/mouse.c.104' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/mouse.c.104' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `RamSize' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.14' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `e820_count' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/system.c.295' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `e820_list' referenced in section `.text.handle_15' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/system.c.294' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `cdemu_drive_gf' referenced in section `.text.handle_13' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/cdrom.c.20' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `pmode_IDT_info' referenced in section `.text.asm.transition32' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.142' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `rombios32_gdt_48' referenced in section `.text.asm.transition32' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.166' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `rmode_IDT_info' referenced in section `.text.asm.transition16' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.132' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `pmode_IDT_info' referenced in section `.text.asm.export.entry_elf' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.142' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `rombios32_gdt_48' referenced in section `.text.asm.export.entry_elf' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/misc.c.166' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o `HaveRunPost' referenced in section `.fixedaddr.0xe05b' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o: defined in discarded section `.data16./home/denis/Загрузки/coreboot/build/seabios/out/../src/resume.c.18' of /home/denis/Загрузки/coreboot/build/seabios/out/code16.o make[2]: *** [/home/denis/Загрузки/coreboot/build/seabios/out/rom16.o] Ошибка 1 make[1]: *** [build] Error 2 make: *** [seabios] Error 2/
Please, help me fixed this problem.
Best Regards, *Denis*
/
/
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
I'm seeing the ld problem on all my linux systems.
ron
Noé Rubinstein wrote:
Did you try to "make clean" before re-making with the new gcc?
I recommend rm -rf build instead of make clean. I'm not sure if make clean will in fact do a complete clean.
In any case we should run make clean or rm -rf build automatically as part of make crossgcc.
//Peter
Peter Stuge wrote:
In any case we should run make clean or rm -rf build automatically as part of make crossgcc.
The clean-for-update target is a dependency for crossgcc, so the build dir "should" have been cleaned out. I don't know if it is complete? Help?
//Peter