Bug 220436 - Linking riscv LORISC kernel fails with undefined symbol __start_set_uart_fdt_class_set
Summary: Linking riscv LORISC kernel fails with undefined symbol __start_set_uart_fdt_...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: riscv Any
: --- Affects Only Me
Assignee: Ruslan Bukin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-02 21:06 UTC by Ed Maste
Modified: 2018-06-20 13:17 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 Ed Maste freebsd_committer 2017-07-02 21:06:36 UTC
As of Jul 2 'make tinderbox' reports 6 failing kernels:

arm LINT kernel failed, check _.arm.LINT for details
mips AR71XX_BASE kernel failed, check _.mips.AR71XX_BASE for details
mips QCA953X_BASE kernel failed, check _.mips.QCA953X_BASE for details
mips RSPRO_STANDALONE kernel failed, check _.mips.RSPRO_STANDALONE for details
riscv LOWRISC kernel failed, check _.riscv.LOWRISC for details
sparc64 LINT kernel failed, check _.sparc64.LINT for details

The arm, mips, and sparc64 failures have been reported as followups to the responsible commit.

The riscv failure is:

--- kernel.full ---
linking kernel.full
uart_bus_fdt.o: In function `uart_cpu_fdt_probe':
/scratch/tmp/emaste/freebsd/sys/dev/uart/uart_bus_fdt.c:237:(.text+0x4b0): relocation truncated to fit: R_RISCV_PCREL_HI20 against undefined symbol `__start_set_uart_fdt_class_set'
/usr/local/riscv64-freebsd/bin/ld: final link failed: Nonrepresentable section on output
*** [kernel.full] Error code 1