Project

General

Profile

Bug #12016

Updated by Andy Fiddaman about 2 years ago

grub and loader builds both invoke the GNU linker (@gld@) during their build but assume that the linker's default output mode is 32-bit. 

 As distributions move towards 64-bit-by-default tooling, the required output format must be specified. 

 For example, on the latest OmniOS bloody, errors such as the following occur during the build: 

 <pre> 
 /usr/bin/gld -g    -nostdlib -N -Ttext 7C00 -o stage1.exec stage1.o 
 /usr/bin/gld: i386 architecture of input file `stage1.o' is incompatible with i386:x86-64 output 
 </pre>

Back