Project

General

Profile

Bug #12149

Updated by Toomas Soome over 1 year ago

With compiler producing 64-bit code by default, we have few component builds mixing 32-bit modules with 64-bit linking... 

 <pre> 
     ld: fatal: file rules.o: wrong ELF class: ELFCLASS32 
     ld: fatal: file processing errors. No output written to bart 
     collect2: error: ld returned 1 exit status 
    
     ld: fatal: file main.o: wrong ELF class: ELFCLASS32 
     ld: fatal: file processing errors. No output written to genmsg 
     collect2: error: ld returned 1 exit status 
    
     ld: fatal: file powerd.o: wrong ELF class: ELFCLASS32 
     ld: fatal: file processing errors. No output written to powerd 
     collect2: error: ld returned 1 exit status 
    
     ld: fatal: file vfontedpr.o: wrong ELF class: ELFCLASS32 
     ld: fatal: file processing errors. No output written to vfontedpr 
     collect2: error: ld returned 1 exit status 
    
     addbadsec: wrong ELF class: ELFCLASS32 
     auditreduce: wrong ELF class: ELFCLASS32 
     praudit: wrong ELF class: ELFCLASS32 
     nfsd: wrong ELF class: ELFCLASS32 
     devfsadm: wrong ELF class: ELFCLASS32 
     ucblib: wrong ELF class: ELFCLASS32 
     grub: wrong ELF class: ELFCLASS32 
 </pre> 

 With patch applied, the build is successful and devfsadm (random pick) is working.

Back