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]
Message-Id: <20120913233429.27668296c459915dc11222f5@canb.auug.org.au>
Date:	Thu, 13 Sep 2012 23:34:29 +1000
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	David Fries <david@...es.net>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: build failure after merge of the final tree (akpm
 tree related)

Hi David,

On Thu, 13 Sep 2012 08:24:08 -0500 David Fries <david@...es.net> wrote:
>
> On Thu, Sep 13, 2012 at 06:11:27PM +1000, Stephen Rothwell wrote:
> > Hi all,
> > 
> > After merging the final tree, today's linux-next build (sparc64 defconfig)
> > failed like this:
> > 
> > drivers/built-in.o: In function `rtc_hctosys':
> > hctosys.c:(.init.text+0x4a98): undefined reference to `rtc_hctosys_ret'
> > hctosys.c:(.init.text+0x4b54): undefined reference to `rtc_hctosys_ret'
> > hctosys.c:(.init.text+0x4b58): undefined reference to `rtc_hctosys_ret'
> 
> Can you post your .config?  `grep RTC .config`
> It would seem to me that drivers/rtc/hctosys.c is being compiled
> without drivers/rtc/class.c which now holds the global variable, but
> Kconfig says that RTC_HCTOSYS 'depends on RTC_CLASS = y'.

Did you read the bit you quoted below?  CONFIG_PM is not set, so that the
part of class.c that contains the definition of rtc_hctosys_ret is not
compiled ...

> > Caused by commit "rtc_sysfs_show_hctosys(): display 0 if resume failed"
> > from the akpm tree.  rtc_hctosys_ret was moved into class.c but protected
> > by defined(CONFIG_PM) && defined(CONFIG_RTC_HCTOSYS_DEVICE) and this
> > build does not have CONFIG_PM set.
-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ