DRM driver build fail

Johannes Lundberg johalun at FreeBSD.org
Fri Dec 13 22:57:36 UTC 2019


Hi Jan

We have a build script running every three hours, building every
supported combination of driver/os release/platform. This is the result
of it failing (or rather succeeding in doing its work). We're working on
a fix and culprit is

https://svnweb.freebsd.org/base?view=revision&revision=355732


Cheers


On 2019-12-13 15:49, Jan Beich wrote:
> (Assuming master is HEAD aka -CURRENT).
>
> "Johannes Lundberg" <johalun at freebsd.org> writes:
>
>> FreeBSD DRM Drivers Build Results
>>
>> STABLE-11: Version 1103504. Revision 355731.
>> STABLE-12: Version 1201504. Revision 355704.
>> HEAD:      Version 1300067. Revision 355732.
>>
>>
>> Failed on Fri Dec 13 15:01:57 MST 2019:
>>
>> https://people.freebsd.org/~johalun/drmlogs/ERROR-aarch64__master__drm-v5.0.log
>> https://people.freebsd.org/~johalun/drmlogs/ERROR-amd64__master__drm-legacy.log
>> https://people.freebsd.org/~johalun/drmlogs/ERROR-amd64__master__drm-v4.16.log
>> https://people.freebsd.org/~johalun/drmlogs/ERROR-amd64__master__drm-v5.0.log
>> https://people.freebsd.org/~johalun/drmlogs/ERROR-i386__master__drm-legacy.log
>> https://people.freebsd.org/~johalun/drmlogs/ERROR-i386__master__drm-v4.16.log
>> https://people.freebsd.org/~johalun/drmlogs/ERROR-i386__master__drm-v5.0.log
>> https://people.freebsd.org/~johalun/drmlogs/ERROR-powerpc64__master__drm-v5.0.log
> drivers/gpu/drm/drm_os_freebsd.c:47:3: error: implicit declaration of function 'untimeout' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>                 untimeout(clear_debug_func, NULL, reset_debug_log_handle);
>                 ^
> drivers/gpu/drm/drm_os_freebsd.c:57:28: error: implicit declaration of function 'timeout' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>                 reset_debug_log_handle = timeout(clear_debug_func, NULL,
>                                          ^
> drivers/gpu/drm/drm_os_freebsd.c:57:26: error: assigning to 'struct callout_handle' from incompatible type 'int'
>                 reset_debug_log_handle = timeout(clear_debug_func, NULL,
>                                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> drm-v5.0 built fine here just 2 days ago. Regressed by https://reviews.freebsd.org/D22602
> Other kms-drm branches appear to be affected by the same issue. D22602 lists fixes
> for base drivers in Revision Contents -> Stack which one can use as examples e.g.,
> D22598 replaced untimeout() with callout_drain() but... let me run away. ;)


More information about the freebsd-x11 mailing list