lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 28 Jun 2024 07:48:38 +1000
From: Dave Airlie <airlied@...il.com>
To: Rodrigo Vivi <rodrigo.vivi@...el.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>, Daniel Vetter <daniel.vetter@...ll.ch>, 
	Jani Nikula <jani.nikula@...ux.intel.com>, 
	Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>, 
	Mitul Golani <mitulkumar.ajitkumar.golani@...el.com>, 
	Suraj Kandpal <suraj.kandpal@...el.com>, Intel Graphics <intel-gfx@...ts.freedesktop.org>, 
	DRI <dri-devel@...ts.freedesktop.org>, 
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, 
	Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the drm-intel tree

On Tue, 18 Jun 2024 at 05:26, Rodrigo Vivi <rodrigo.vivi@...el.com> wrote:
>
> On Wed, Jun 12, 2024 at 02:12:39PM +1000, Stephen Rothwell wrote:
> > Hi all,
> >
> > After merging the drm-intel tree, today's linux-next build (i386
> > defconfig) failed like this:
> >
> > x86_64-linux-gnu-ld: drivers/gpu/drm/i915/display/intel_vrr.o: in function `intel_vrr_compute_config':
> > intel_vrr.c:(.text+0x4e4): undefined reference to `__udivdi3'
> >
> > Caused by commit
> >
> >   1676ecd303ac ("drm/i915: Compute CMRR and calculate vtotal")
> >
> > I have reverted that commit for today.
>
> the fixes for that is available in drm-intel-next now. you should probably
> remove the revert.
>
> Thanks for the heads up on that.

In file included from
/home/airlied/devel/kernel/dim/src/arch/arm/include/asm/div64.h:107,
                 from /home/airlied/devel/kernel/dim/src/include/linux/math.h:6,
                 from
/home/airlied/devel/kernel/dim/src/include/linux/kernel.h:27,
                 from
/home/airlied/devel/kernel/dim/src/include/linux/cpumask.h:11,
                 from /home/airlied/devel/kernel/dim/src/include/linux/smp.h:13,
                 from
/home/airlied/devel/kernel/dim/src/include/linux/lockdep.h:14,
                 from
/home/airlied/devel/kernel/dim/src/include/linux/spinlock.h:63,
                 from
/home/airlied/devel/kernel/dim/src/include/linux/kref.h:16,
                 from
/home/airlied/devel/kernel/dim/src/include/drm/drm_device.h:5,
                 from
/home/airlied/devel/kernel/dim/src/include/drm/drm_drv.h:35,
                 from
/home/airlied/devel/kernel/dim/src/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h:13,
                 from
/home/airlied/devel/kernel/dim/src/drivers/gpu/drm/i915/display/intel_vrr.c:7:
/home/airlied/devel/kernel/dim/src/drivers/gpu/drm/i915/display/intel_vrr.c:
In function ‘cmrr_get_vtotal’:
/home/airlied/devel/kernel/dim/src/include/asm-generic/div64.h:222:35:
warning: comparison of distinct pointer types lacks a cast
  222 |         (void)(((typeof((n)) *)0) == ((uint64_t *)0));  \
      |                                   ^~
/home/airlied/devel/kernel/dim/src/drivers/gpu/drm/i915/display/intel_vrr.c:155:35:
note: in expansion of macro ‘do_div’
  155 |         crtc_state->cmrr.cmrr_m = do_div(adjusted_pixel_rate,
crtc_state->cmrr.cmrr_n);
      |                                   ^~~~~~

The fixes might need some more fixing, 32-bit arm build.

Dave.

>
> >
> > --
> > Cheers,
> > Stephen Rothwell
>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ