ld -m elf64ppc_fbsd -d -warn-common -r -d -o drm.kld ati_pcigart.o drm_agpsupport.o drm_atomic.o drm_atomic_helper.o drm_auth.o drm_blend.o drm_bufs.o drm_bridge.o drm_cache.o drm_color_mgmt.o drm_connector.o drm_context.o drm_crtc.o drm_crtc_helper.o drm_debugfs.o drm_debugfs_crc.o drm_dma.o drm_dp_aux_dev.o drm_dp_dual_mode_helper.o drm_dp_helper.o drm_dp_mst_topology.o drm_drv.o drm_dumb_buffers.o drm_edid.o drm_edid_load.o drm_encoder.o drm_encoder_slave.o drm_fb_helper.o drm_fb_helper_freebsd.o drm_file.o drm_flip_work.o drm_fourcc.o drm_framebuffer.o drm_gem.o drm_gem_cma_helper.o drm_global.o drm_hashtab.o drm_ioc32.o drm_ioctl.o drm_info.o drm_irq.o drm_kms_helper_common.o drm_lease.o drm_lock.o drm_memory.o drm_mipi_dsi.o drm_mm.o drm_modes.o drm_mode_config.o drm_mode_object.o drm_modeset_lock.o drm_modeset_helper.o drm_os_freebsd.o drm_panel.o drm_panel_orientation_quirks.o drm_pci.o drm_plane.o drm_plane_helper.o drm_print.o drm_prime.o drm_probe_helper.o drm_property.o drm_rect.o drm_scatter.o drm_scdc_helper.o drm_syncobj.o drm_sysctl_freebsd.o drm_sysfs.o drm_vblank.o drm_vm.o drm_vma_manager.o linux_fb.o tainted_linux_fb.o linux_hdmi.o ttm_agp_backend.o ttm_lock.o ttm_object.o ttm_tt.o ttm_bo_util.o ttm_bo.o ttm_bo_manager.o ttm_execbuf_util.o ttm_memory.o ttm_module.o ttm_page_alloc.o ttm_page_alloc_dma.o ttm_bo_vm.o gpu_scheduler.o sched_fence.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk drm.kld export_syms | xargs -J% objcopy % drm.kld ld -m elf64ppc_fbsd -Bshareable -znotext -d -warn-common -o drm.ko drm.kld drm.kld: In function `.ck_pr_dec_uint_zero': drm_plane_helper.c:(.text+0x211ae2): relocation truncated to fit: R_PPC64_TOC16_DS against `.got'+10000 drm.kld: In function `.ck_pr_inc_64_zero': drm_plane_helper.c:(.text+0x211e56): relocation truncated to fit: R_PPC64_TOC16_DS against `.got'+10008 drm.kld: In function `.ck_pr_dec_64_zero': drm_plane_helper.c:(.text+0x211fbe): relocation truncated to fit: R_PPC64_TOC16_DS against `.got'+10010 drm.kld: In function `.ck_pr_inc_32_zero': drm_plane_helper.c:(.text+0x21213a): relocation truncated to fit: R_PPC64_TOC16_DS against `.got'+10018 drm.kld: In function `.ck_pr_dec_32_zero': drm_plane_helper.c:(.text+0x2122b2): relocation truncated to fit: R_PPC64_TOC16_DS against `.got'+10020 drm.kld: In function `.ck_stack_push_upmc': drm_plane_helper.c:(.text+0x21289e): relocation truncated to fit: R_PPC64_TOC16_DS against `.got'+10028 drm_plane_helper.c:(.text+0x2128ce): relocation truncated to fit: R_PPC64_TOC16_DS against `.got'+10028 drm.kld: In function `.ck_stack_trypush_upmc': drm_plane_helper.c:(.text+0x2129b6): relocation truncated to fit: R_PPC64_TOC16_DS against `.got'+10028 drm_plane_helper.c:(.text+0x2129e6): relocation truncated to fit: R_PPC64_TOC16_DS against `.got'+10030 drm.kld: In function `.ck_stack_pop_upmc': drm_plane_helper.c:(.text+0x212a8e): relocation truncated to fit: R_PPC64_TOC16_DS against `.got'+10038 drm_plane_helper.c:(.text+0x212aca): additional relocation overflows omitted from the output *** Error code 1 Stop. make: stopped in /root/build/kms-drm/drm