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: <20060822115028.GV11651@stusta.de>
Date:	Tue, 22 Aug 2006 13:50:28 +0200
From:	Adrian Bunk <bunk@...sta.de>
To:	Jan Beulich <jbeulich@...ell.com>
Cc:	Andrew Morton <akpm@...l.org>, Andi Kleen <ak@...e.de>,
	linux-kernel@...r.kernel.org, discuss@...-64.org
Subject: Re: 2.6.18-rc4-mm2: x86_64 compile error

On Tue, Aug 22, 2006 at 10:11:53AM +0200, Jan Beulich wrote:
> >>> Adrian Bunk <bunk@...sta.de> 21.08.06 23:21 >>>
> >On Sat, Aug 19, 2006 at 10:00:08PM -0700, Andrew Morton wrote:
> >>...
> >> Changes since 2.6.18-rc4-mm1:
> >>...
> >> +x86_64-mm-fix-x86-cpuid-keys-used-in-alternative_smp.patch
> >>...
> >>  x86_64 tree updates
> >>...
> >
> >This patch causes the following compile error (cross compiling from i386 
> >using gcc 4.1):
> >
> ><--  snip  -->
> >
> >...
> >  LD      .tmp_vmlinux1
> >kernel/built-in.o:(.smp_altinstructions+0x10): undefined reference to `X86_FEATURE_UP'
> >kernel/built-in.o:(.smp_altinstructions+0x28): undefined reference to `X86_FEATURE_UP'
> >kernel/built-in.o:(.smp_altinstructions+0x40): undefined reference to `X86_FEATURE_UP'
> >kernel/built-in.o:(.smp_altinstructions+0x58): undefined reference to `X86_FEATURE_UP'
> >make[1]: *** [.tmp_vmlinux1] Error 1
> 
> Odd - asm/cpufeature.h is being included by asm/processor.h, which is included by
> linux/sched.h, which in turn I would have assumed is included by virtually everything.
> The simply solution would be to explicitly include it from asm/alternative.h - could you
> give that a try? Regardless of that I'd be curious what source file under kernel/ (and
> perhaps with what .config) neither includes linux/sched.h nor asm/processor.h.

I was using defconfig.

I don't know whether looking at this bug makes muh sense since Andi said 
he already has a patch queued to fix it.

> Jan

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
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