Bug 242028 - powerpc64 LINT kernel build fails
Summary: powerpc64 LINT kernel build fails
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: powerpc Any
: --- Affects Some People
Assignee: freebsd-ppc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-17 13:22 UTC by Li-Wen Hsu
Modified: 2020-07-02 09:32 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Li-Wen Hsu freebsd_committer 2019-11-17 13:22:15 UTC
https://ci.freebsd.org/job/FreeBSD-head-powerpc64-LINT/762/console :

...

--- accf_data.kld ---
ld -m elf32ppc_fbsd --secure-plt -d -warn-common  -r -d  -o accf_data.kld accf_data.o

...

--- modules-all ---
ld: Relocatable linking with relocations from format elf64-powerpc-freebsd (accf_data.o) to format elf32-powerpc-freebsd (accf_data.kld) is not supported

I think it is because of we passed the wrong argument to ld when building modules.
Comment 1 Justin Hibbits freebsd_committer 2020-05-29 01:21:15 UTC
(In reply to Li-Wen Hsu from comment #0)

I think the problem with this is that LINT is intended for 32-bit powerpc, whereas powerpc64 needs LINT64 as the config.