Bug 242028 - powerpc64 LINT kernel build fails
Summary: powerpc64 LINT kernel build fails
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: powerpc Any
: --- Affects Some People
Assignee: freebsd-ppc mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-17 13:22 UTC by Li-Wen Hsu
Modified: 2019-11-17 13:40 UTC (History)
0 users

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.