From: Arnd Bergmann <arnd@arndb.de>
To: "Ksenija Stanojević" <ksenija.stanojevic@gmail.com>
Cc: y2038@lists.linaro.org, outreachy-kernel@googlegroups.com
Subject: Re: [Y2038] [PATCH v2] Staging: fbtbt: Replace timespec with ktime_t
Date: Sun, 04 Oct 2015 21:34:40 +0200 [thread overview]
Message-ID: <5548451.nrtKaPCYPk@wuerfel> (raw)
In-Reply-To: <CAL7P5jL8Y5EORR4pvZHEhc9nKJuh7p+v_k_Kcjy8dXidiBq7Bg@mail.gmail.com>
On Saturday 03 October 2015 21:15:46 Ksenija Stanojević wrote:
> On Thu, Oct 1, 2015 at 10:05 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> > On Thursday 01 October 2015 19:44:46 Ksenija Stanojević wrote:
> >>
> >> In my local repository I modified my .config file so that CONFIG_64BIT
> >> is not set,
> >> and after that I recompiled all directory, but I don't get any errors/warning at
> >> compile-time.
> >> Also I separetly compiled this specific file but still no warnings
> >> My .config looks something like this:
> >>
> >> . . .
> >>
> >> Should I change my working kernel or .config file is just enough?
> >
> > I think the problem is that you only compiled that directory but did
> > not attempt to do a full rebuild of the kernel and modules, which is
> > required to catch link-time errors.
> >
> > The compiler does not know at this point that the 64-bit division function
> > is undefined in the kernel, you only get a warning at the 'make vmlinux'
> > link stage (for built-in drivers) or the 'make modules' modpost stage
> > afterwards.
>
> I rebuilded my repository with:
> make vmlinux
> make modules
> but I still don't get any warnings.
> Do you have any other suggestion on what I'm doing wrong?
I just tried it on my machine and I get (for an ARM build)
$ make -skj30
ERROR: "__aeabi_ldivmod" [drivers/staging/fbtft/fbtft.ko] undefined!
Two possible explanations why you don't get it:
- your .config file got changed back to CONFIG_64BIT being enabled
- you don't have CONFIG_FB_TFT enabled in this build.
Arnd
next prev parent reply other threads:[~2015-10-04 19:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-30 16:10 [PATCH v2] Staging: fbtbt: Replace timespec with ktime_t Ksenija Stanojevic
2015-09-30 21:52 ` [Y2038] " Arnd Bergmann
2015-10-01 17:44 ` Ksenija Stanojević
2015-10-01 20:05 ` Arnd Bergmann
2015-10-03 19:15 ` Ksenija Stanojević
2015-10-04 19:34 ` Arnd Bergmann [this message]
2015-10-05 5:17 ` [Outreachy kernel] " Sudip Mukherjee
2015-10-05 8:20 ` Arnd Bergmann
2015-10-05 14:52 ` Sudip Mukherjee
2015-10-07 18:46 ` Ksenija Stanojević
2015-10-07 19:08 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5548451.nrtKaPCYPk@wuerfel \
--to=arnd@arndb.de \
--cc=ksenija.stanojevic@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
--cc=y2038@lists.linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.