Project

General

Profile

Actions

Bug #12149

closed

mixed up 32 and 64 bit build

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

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

    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

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

Actions

Also available in: Atom PDF