Project

General

Profile

Actions

Bug #12149

closed

mixed up 32 and 64 bit build

Added by Toomas Soome almost 2 years ago. Updated almost 2 years 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 #1

Updated by Toomas Soome almost 2 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk almost 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 58e78d166bd2b5a9dda31250b8e8bad7c7548c0e

commit  58e78d166bd2b5a9dda31250b8e8bad7c7548c0e
Author: Toomas Soome <tsoome@me.com>
Date:   2020-01-06T20:49:19.000Z

    12149 mixed up 32 and 64 bit build
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF