[Bug 220436] Linking riscv LORISC kernel fails with undefined symbol __start_set_uart_fdt_class_set

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 2 21:06:36 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220436

            Bug ID: 220436
           Summary: Linking riscv LORISC kernel fails with undefined
                    symbol __start_set_uart_fdt_class_set
           Product: Base System
           Version: CURRENT
          Hardware: riscv
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: emaste at freebsd.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list