Re: DRM driver build fail

Johannes Lundberg <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
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" <[email protected]> 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. ;)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.