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: <alpine.LNX.1.10.0805182155011.15590@fbirervta.pbzchgretzou.qr>
Date:	Sun, 18 May 2008 21:55:58 +0200 (CEST)
From:	Jan Engelhardt <jengelh@...ozas.de>
To:	Adrian Bunk <bunk@...nel.org>
cc:	Jiri Slaby <jirislaby@...il.com>, Sam Ravnborg <sam@...nborg.org>,
	Linux kernel mailing list <linux-kernel@...r.kernel.org>,
	Michael Buesch <mb@...sch.de>,
	Gordon Farquharson <gordonfarquharson@...il.com>
Subject: Re: crossbuild fails in modpost


On Thursday 2008-05-15 22:46, Adrian Bunk wrote:
>>
>> Well, the compiler is the same, but it's told to compile the kernel with  
>> -m64. It runs on x86_64 kernel and i386 userspace. It's debian i386 gcc  
>> package which understands x86_64 objects too. No SUBARCH option, it seems 
>> to default to x86_64.
>>...
>
>Unless you manually fiddle with ARCH you can only build a kernel with 
>the same 32<->64bit setting as your currently running kernel (no matter 
>which userspace you use)...

echo -en '#!/bin/bash\nexec gcc -m32 "$@"\n' >/usr/local/bin/i386-linux-gcc
make CC=i386-linux-gcc
then the if($(CC),$(HOSTCC)) check should get true.
--
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