From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3BC1C38145 for ; Wed, 7 Sep 2022 05:47:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229498AbiIGFrp (ORCPT ); Wed, 7 Sep 2022 01:47:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbiIGFro (ORCPT ); Wed, 7 Sep 2022 01:47:44 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A6C66FA16 for ; Tue, 6 Sep 2022 22:47:36 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id bj12so27845014ejb.13 for ; Tue, 06 Sep 2022 22:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date; bh=YtQGFFP4vhfdUxZhJrZK2jqmDRC5K71pRjy06kzufEA=; b=D4MSYe3HuhjfTCnhlWTUWIOL1gN6qSsC/IeXJ+WxDvobPcnhhWhthaLWp0Je7KM9C9 xxNzLsp/6fSpM6Eo3j+14h/npT0wAePR8BbgHcgnA0v9OHztxQZcZ2kh5hfdkdywI7gT OoVvmsCvGYfkaVg+Um+yGHT49wN9zNqGX2DyA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=YtQGFFP4vhfdUxZhJrZK2jqmDRC5K71pRjy06kzufEA=; b=kodf+31xsnaDQCaJG6JGBw6AFlQORtW+PA7jYD/+Ew+YBbSkqbVNqB/b0r1ymQbRN5 vBO02XZFSG0ZwE008T75qWDXP76nCLX5G2Dm6kyn6o+PwT4dPV67MLnc72O5RcAQhtFs 0n42OwkeCrTCETLzB+jb2vWR+crh6yC4Qz5EvgltuPOsFRlQXIlgVOEjNBNeYKzgYYbI L0b0NMKDrvF7XdLG5hjgU2EnJhSxOWGMbEdvmCTIEqGAqvSCzWNmnUocr7Ch0MVevrqU kffWH4XB3ONhutvXrlNcEXtGLqMLA2imSaYVKjeCUr0Z+x9d0GPVX5oqfm904hZVBOse 2TVA== X-Gm-Message-State: ACgBeo3bi6R8oKthktoggSvBVbzTcgNPoDniRD40+lEyknf8Co5kytt0 22wa68xB9ZB1Ln6jitW4416ZLg== X-Google-Smtp-Source: AA6agR6l0Nv5Ojf99/mgkxk+bfFH+4lR+cupi/L8llhX+dNx0PezxjkLx3qkT51MqwmWQ0AJP9vECQ== X-Received: by 2002:a17:907:6d8a:b0:73b:d9e4:e628 with SMTP id sb10-20020a1709076d8a00b0073bd9e4e628mr1189348ejc.75.1662529654688; Tue, 06 Sep 2022 22:47:34 -0700 (PDT) Received: from phenom.ffwll.local (212-51-149-33.fiber7.init7.net. [212.51.149.33]) by smtp.gmail.com with ESMTPSA id e10-20020a1709062d4a00b0073dafb227c0sm7799536eji.161.2022.09.06.22.47.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 22:47:34 -0700 (PDT) Date: Wed, 7 Sep 2022 07:47:32 +0200 From: Daniel Vetter To: Igor Matheus Andrade Torrente Cc: Sudip Mukherjee , Melissa Wen , dri-devel , Rodrigo Siqueira , linux-kernel , linux-next , Daniel Vetter , David Airlie , Haneen Mohammed Subject: Re: build failure of next-20220906 due to 396369d67549 ("drm: vkms: Add support to the RGB565 format") Message-ID: Mail-Followup-To: Igor Matheus Andrade Torrente , Sudip Mukherjee , Melissa Wen , dri-devel , Rodrigo Siqueira , linux-kernel , linux-next , David Airlie , Haneen Mohammed References: <8e4350df-0c73-6ca2-a25f-28a40a1856db@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8e4350df-0c73-6ca2-a25f-28a40a1856db@gmail.com> X-Operating-System: Linux phenom 5.18.0-4-amd64 Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Tue, Sep 06, 2022 at 08:35:49PM -0300, Igor Matheus Andrade Torrente wrote: > On 9/6/22 18:26, Sudip Mukherjee wrote: > > On Tue, Sep 6, 2022 at 4:59 PM Sudip Mukherjee (Codethink) > > wrote: > > > > > > Hi All, > > > > > > The builds of next-20220906 fails for mips, xtensa and arm allmodconfig. > > > > > > The errors in mips and xtensa are: > > > > > > ERROR: modpost: "__divdi3" [drivers/gpu/drm/vkms/vkms.ko] undefined! > > > ERROR: modpost: "__udivdi3" [drivers/gpu/drm/vkms/vkms.ko] undefined! > > > > > > The error in arm is: > > > > > > ERROR: modpost: "__aeabi_uldivmod" [drivers/gpu/drm/vkms/vkms.ko] undefined! > > > ERROR: modpost: "__aeabi_ldivmod" [drivers/gpu/drm/vkms/vkms.ko] undefined! > > > > > > > > > Trying to do a git bisect to find out the offending commit. > > > > git bisect points to 396369d67549 ("drm: vkms: Add support to the > > RGB565 format") > > Are these architectures incapable of doing 64bits int division? Yeah 32bit archs in general can't do that, and you have to use the right macros because otherwise gcc falls back to its own built-ins, and those don't exist in the kernel since the kernel isn't (cannot!) linked against any userspace library. For pretty much this reasons it's really good to build test against 32bit x86, or probably more relevant these days, 32bit arm. Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch