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] [day] [month] [year] [list]
Date:	Mon, 11 Sep 2006 11:27:39 -0400
From:	Jeff Dike <jdike@...toit.com>
To:	Blaisorblade <blaisorblade@...oo.it>
Cc:	i.r.wezeman@...net.nl, user-mode-linux-devel@...ts.sourceforge.net,
	Anton Altaparmakov <aia21@....ac.uk>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: [uml-devel] Re: Partial fix! - Was: Re: [BUG report] UML linux-2.6 latest BK doesn't compile

On Sat, Sep 09, 2006 at 11:31:36AM +0200, Blaisorblade wrote:
> On Saturday 09 September 2006 00:25, i.r.wezeman@...net.nl wrote:
> > Hi there.
> > 
> > I got a error undefined reference to `__bb_init_func' when
> > compiling uml with kernel 2.6.17.6, gcc 4.1.1 and glibc-2.4

Happens to me with -rc6.

> Try removing from arch/um/kernel/gmon_syms.c these 2 lines:
> 
> extern void __bb_init_func(void *);
> EXPORT_SYMBOL(__bb_init_func);

And this seems to fix it.

> Better yet, try if adding the weak attribute like below fixes 
> the problem:
> 
> extern void __bb_init_func(void *) __attribute__((weak));
> EXPORT_SYMBOL(__bb_init_func);

And this fixes it even better.

				Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ