From: Keith Owens <kaos@ocs.com.au>
To: Albert Cranford <ac9410@bellsouth.net>
Cc: kbuild-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: Announce: Kernel Build for 2.5, Release 1.12 is available
Date: Mon, 31 Dec 2001 18:04:56 +1100 [thread overview]
Message-ID: <30269.1009782296@ocs3.intra.ocs.com.au> (raw)
In-Reply-To: Your message of "Mon, 31 Dec 2001 00:54:48 CDT." <3C2FFDA8.81073B84@bellsouth.net>
On Mon, 31 Dec 2001 00:54:48 -0500,
Albert Cranford <ac9410@bellsouth.net> wrote:
>Is it just me or did 1.12 break i386 in 2.4.18-pre1?
>I applied linux-2.4.18-pre1 then:
>kbuild-2.5-2.4.16-3
>kbuild-2.5-2.4.17-1
>kbuild-2.5-2.4.18-pre1-1
>cp /tmp/saved.config /usr/src/linux/.config
>
>I noticed there is no link include/asm to include/asm-i386
>
>Here is my output:
>home1:~/linux# ll .config*
> 28 -rw-r--r-- 1 root root 25907 Dec 31 00:04 .config
>home1:~/linux# make -f Makefile-2.5 oldconfig
>In file included from /usr/include/bits/errno.h:25,
> from /usr/include/errno.h:36,
> from /usr/src/linux/scripts/pp_makefile.h:11,
> from /usr/src/linux/scripts/pp_filetree.c:11:
>/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
You have a broken glibc, /usr/include/linux is a symlink to
/usr/src/linux. Linus has said repeatedly that glibc must not do that,
it gives different results for userspace code depending on which
version of the kernel source you are working on. The fact that kbuild
2.5 highlights the broken versions of glibc is a bonus.
Newer versions of glibc have local copies of /usr/include/linux which
never change, instead of using a symlink to a random kernel source and
blindly hoping that /usr/src/linux contains something useful. If you
cannot upgrade glibc, find the version of the kernel that glibc was
compiled against, probably the first kernel your distribution shipped
with. Install the headers from that kernel as /usr/src/linux to keep
glibc happy. NEVER change /usr/src/linux again, build your kernels
under a different directory.
prev parent reply other threads:[~2001-12-31 7:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-28 2:31 Announce: Kernel Build for 2.5, Release 1.12 is available Keith Owens
2001-12-29 8:27 ` Keith Owens
2001-12-29 22:27 ` [kbuild-devel] " Tom Rini
2001-12-30 0:21 ` Tom Rini
2001-12-30 2:38 ` Tom Rini
2001-12-30 11:01 ` Keith Owens
2001-12-31 5:54 ` Albert Cranford
2001-12-31 7:04 ` Keith Owens [this message]
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=30269.1009782296@ocs3.intra.ocs.com.au \
--to=kaos@ocs.com.au \
--cc=ac9410@bellsouth.net \
--cc=kbuild-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.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.