Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build fails for amd64, i386 kernels w/legacy DRM (UMS) support

Kernels w/o DRMKMS but with the older DRM UMS drivers fail with:

#      link  VERTHANDI/netbsd
/r0/build/current/tools/amd64/bin/i486--netbsdelf-ld -Map --cref -T netbsd.ldscript -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ:[@]:Nswapnetbsd.o} ${EXTRA_OBJ} vers.o swapnetbsd.o
/r0/build/current/tools/amd64/bin/i486--netbsdelf-ld: drm_stub.o: in function `drm_ioctl':
/x/current/src/sys/external/bsd/drm2/drm/drm_stub.c:41: multiple definition of `drm_ioctl'; drm_drv.o:/x/current/src/sys/external/bsd/drm/dist/bsd-core/drm_drv.c:962: first defined here
*** [netbsd] Error code 1

These kernels use the following idiom:

include         "arch/i386/conf/GENERIC"
r128drm*        at drm?         # ATI Rage 128 DRM driver
no i915drmkms*  at pci?
no intelfb*     at intelfbbus?
no radeon*      at pci?
no radeondrmkmsfb* at radeonfbbus?
no nouveau*     at pci?
no nouveaufb*   at nouveaufbbus?

I noticed the following commit:

Can this be adjusted to accomodate legacy DRM?

|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Home | Main Index | Thread Index | Old Index