public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Scherer <a6702894@unet.univie.ac.at>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails
Date: Thu, 17 May 2012 22:51:51 +0200	[thread overview]
Message-ID: <20120517225151.7b269382@unet.univie.ac.at> (raw)
In-Reply-To: <20120517221302.2d87cac4@unet.univie.ac.at>

On Thu, 17 May 2012 22:13:02 +0200
Michael Scherer <a6702894@unet.univie.ac.at> wrote:

> On Fri, 18 May 2012 01:06:02 +0700
> Pandu Poluan <pandu@poluan.info> wrote:
> 
> > On May 17, 2012 11:19 PM, "Michael Scherer"
> > <a6702894@unet.univie.ac.at> wrote:
> > >
> > > On Wed, 16 May 2012 07:41:32 +0700
> > > Pandu Poluan <pandu@poluan.info> wrote:
> > >
> > > > On May 15, 2012 7:50 AM, "Dale" <rdalek1967@gmail.com> wrote:
> > > > >
> > > > > Maybe like me, you blabber more than you think:
> > > > >
> > > > > http://archives.gentoo.org/stats/gentoo-user-per-year.xml
> > > > >
> > > > > I didn't put them in any certain order but you have fallen a
> > > > > bit tho. Someone put alum in your water or something?
> > > > >
> > > >
> > > > I blabbed that much??
> > > >
> > > > Gee... I purposefully stay away from piping up in threads
> > > > related to CUPS, KDE, Gnome, and other desktop-only stuff, and
> > > > still end up in the top 5?? o_O
> > > >
> > > > Rgds,
> > >
> > > OK, OK. May I remind you what started this thread?
> > > If bottom-most is really that important to you, I will
> > > of course comply, though with outlook express which I'm
> > > forced to use most of the time this is a bit tedious.
> > > I had no idea what a flood of angry comments my post
> > > on preferring top-most would start off.
> > >
> > > My original problem (see title) is as yet unsolved. Any one
> > > out there with an idea what might be causing this?
> > > I'm grateful to those 3 or 4 who tried to help, but
> > > by now I'm rather desperate and in the whole of internet
> > > pages there is nothing even coming near.
> > >
> > > bugzilla told me this wasn't a bug and go to the forums.
> > > So you are really my last resort.
> > >
> > > regards, michael
> > >
> > 
> > Based on the information you've given, there can be only 2 possible
> > cause:
> > 
> > 1. The Makefile is somehow b0rken.
> > 
> > Evidence : 'ls' instead of 'ld'
> > 
> > 2. Some file creation failed, causing the next step to fail.
> > 
> > Please post the output of 'df -i'. I once ran out of inodes during
> > kernel compile, even when the filesystem (ext4) was created with
> > IIRC 100'000-something inodes (and still having several gigabytes
> > of free space).
> > 
> > Nowadays, I put /usr/src and portage's tempdir on a reiserfs to
> > prevent running out of inodes.
> > 
> > 3. Something is wrong with your filesystem.
> > 
> > Especially if /usr/src is *already* on reiserfs. In this case, boot
> > using SystemRescueCD and do an offline fsck on the partition
> > containing /usr/src
> > 
> > 4. Swapfile / Swap partition problems.
> > 
> > Even with enough RAM, sometimes gcc just wants a swap. Post the
> > output of 'swapon -s' please.
> > 
> > And there's also the possibility that somehow the swap gets b0rked.
> > Try turning off swap, rebuild the swap, and turning it back on.
> > 
> > Rgds,
> 
> 1) make output:
> 
>   CHK     include/linux/version.h
>   CHK     include/generated/utsrelease.h
>   CALL    scripts/checksyscalls.sh
>   CHK     include/generated/compile.h
>   LD      init/mounts.o
> ls -Al -m elf_x86_64 -r -o init/mounts.o init/do_mounts.o
> init/do_mounts_initrd.o init/mounts.o: No such file or directory
> make[1]: *** [init/mounts.o] Error 1
> make: *** [init] Error 2
> 
> There is an LD, the ls line is part of the error message.
> 
> 2) df -i
> 
> Filesystem      Inodes  IUsed   IFree IUse% Mounted on
> rootfs         1313280   5652 1307628    1% /
> /dev/root      1313280   5652 1307628    1% /
> devtmpfs        385505    785  384720    1% /dev
> rc-svcdir       385724     63  385661    1% /lib64/rc/init.d
> /tmpfs          385724      1  385723    1% /dev/shm
> /dev/sda12      130560     23  130537    1% /boot
> /dev/sda15     3932656 363434 3569222   10% /usr
> /dev/sda16     6119424 275818 5843606    5% /var
> 
> 3) /usr/src is ext4, and all ebuilds run without problems.
> If something is wrong with the file system, maybe an fsck would
> show it, so I'll try that.
> 
> 4) swapon -s
> 
> Filename				Type		Size
> Used	Priority /dev/sda13
> partition	10482376	0	-1
> 
> immediately after running make.
> 
> Remaking the swap area resulted in the same line as above.
> 
> But without doubt you are right that mounts.o is not built, for
> whatever reason. The build command
> 
> init/.do_mounts.o.cmd:cmd_init/do_mounts.o := gcc
> -Wp,-MD,init/.do_mounts.o.d -nostdinc
> -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include
> -I/usr/src/linux-3.2.12-gentoo/arch/x86/include
> -Iarch/x86/include/generated -Iinclude
> -include /usr/src/linux-3.2.12-gentoo/include/linux/kconfig.h
> -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
> -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
> -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64
> -march=k8 -mno-red-zone -mcmodel=kernel -funit-at-a-time
> -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1
> -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1
> -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare
> -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
> -Wframe-larger-than=2048 -fno-omit-frame-pointer
> -fno-optimize-sibling-calls -fno-inline-functions-called-once
> -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow
> -fconserve-stack -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=\#s"
> -D"KBUILD_BASENAME=KBUILD_STR(do_mounts)"
> -D"KBUILD_MODNAME=KBUILD_STR(mounts)" -c -o init/do_mounts.o
> init/do_mounts.c
> 
> contains a directive to build mounts.o, see second last line, but
> it for some reason this is ignored.
> Maybe there is a flaw in that command, only I can't find it.
> 
> regards, michael
> 
> 

And this is the makefile for mounts.o:

#
# Makefile for the linux kernel.
#

obj-y                          := main.o version.o mounts.o
ifneq ($(CONFIG_BLK_DEV_INITRD),y)
obj-y                          += noinitramfs.o
else
obj-$(CONFIG_BLK_DEV_INITRD)   += initramfs.o
endif
obj-$(CONFIG_GENERIC_CALIBRATE_DELAY) += calibrate.o

mounts-y                        := do_mounts.o
mounts-$(CONFIG_BLK_DEV_RAM)    += do_mounts_rd.o
mounts-$(CONFIG_BLK_DEV_INITRD) += do_mounts_initrd.o
mounts-$(CONFIG_BLK_DEV_MD)     += do_mounts_md.o

# dependencies on generated files need to be listed explicitly
$(obj)/version.o: include/generated/compile.h

# compile.h changes depending on hostname, generation number, etc,
# so we regenerate it always.
# mkcompile_h will make sure to only update the
# actual file if its content has changed.

       chk_compile.h = :
 quiet_chk_compile.h = echo '  CHK     $@'
silent_chk_compile.h = :
include/generated/compile.h: FORCE
        @$($(quiet)chk_compile.h)
        $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \
        "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" "$(CC)
       $(KBUILD_CFLAGS)"

Seems to be OK, but then I don't know what to make of the last part
starting with "# compile.h changes..."
Maybe something wrong here.

regards, michael




  parent reply	other threads:[~2012-05-17 20:54 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09  8:47 [gentoo-user] Are those "green" drives any good? Dale
2012-05-09  9:25 ` Alan McKinnon
2012-05-09  9:52   ` Dale
2012-05-09 11:32     ` Daniel Troeder
2012-05-09 11:51       ` Dale
2012-05-10 19:39         ` David Haller
2012-05-09 21:28     ` Alan McKinnon
2012-05-09 22:24       ` Dale
2012-05-09 22:48         ` Paul Hartman
2012-05-09 23:49           ` Dale
2012-05-10  1:39             ` Pandu Poluan
2012-05-10  1:52               ` Adam Carter
2012-05-10 12:53             ` Todd Goodman
2012-05-09 23:37         ` Mark Knecht
2012-05-09 23:58           ` Dale
2012-05-10  7:03             ` Mick
2012-05-10 11:55             ` napalm
2012-05-10 12:38               ` Dale
2012-05-10 13:27                 ` napalm
2012-05-10 21:39                   ` Dale
2012-05-10 22:53               ` Paul Hartman
2012-05-11  0:07                 ` Neil Bothwick
2012-05-11  1:10                   ` David Haller
2012-05-10 19:38   ` David Haller
2012-05-10 21:13     ` Alan McKinnon
2012-05-09 11:47 ` Tanstaafl
2012-05-09 12:06   ` mike
2012-05-09 13:30     ` Tanstaafl
2012-05-09 12:29   ` Mark Knecht
2012-05-09 16:39     ` Pandu Poluan
2012-05-09 17:28       ` Mark Knecht
2012-05-09 18:42         ` Paul Hartman
2012-05-09 18:53           ` Mark Knecht
2012-05-10 14:20       ` [gentoo-user] make of gentoo-sources-3.2.12 fails Michael Scherer
2012-05-10 14:50         ` Pandu Poluan
2012-05-10 19:57           ` Michael Scherer
2012-05-10 21:08         ` Stroller
2012-05-11  1:01           ` Michael Scherer
2012-05-11  5:18             ` Joshua Murphy
2012-05-11 12:59               ` Michael Scherer
2012-05-11 17:56               ` Michael Scherer
2012-05-11 10:20             ` Alan McKinnon
2012-05-11 22:48         ` [gentoo-user] " walt
2012-05-12  1:31           ` Michael Scherer
2012-05-12 18:17         ` walt
2012-05-14  1:44           ` Michael Scherer
2012-05-14  2:13             ` ny6p01
2012-05-14 15:26               ` Michael Scherer
2012-05-14 15:37                 ` Alan McKinnon
2012-05-14 15:52                 ` ny6p01
2012-05-26 11:18                   ` luis jure
2012-05-26 13:56                     ` ny6p01
2012-05-14 16:13                 ` Allan Gottlieb
2012-05-14 17:13                   ` Dale
2012-05-14 20:54                     ` Alan McKinnon
2012-05-15  0:46                       ` Dale
2012-05-15 17:01                         ` Mark Knecht
2012-05-15 17:15                           ` Dale
2012-05-15 21:12                           ` Alan McKinnon
2012-05-18 12:29                           ` Willie WY Wong
2012-05-15 17:25                         ` john
2012-05-15 23:26                           ` Peter Humphrey
2012-05-16  0:41                         ` Pandu Poluan
2012-05-17 16:14                           ` Michael Scherer
2012-05-17 17:05                             ` Dale
2012-05-17 19:13                               ` Michael Scherer
2012-05-17 17:13                             ` Neil Bothwick
2012-05-17 18:58                               ` Michael Scherer
2012-05-17 17:47                             ` Tanstaafl
2012-05-17 19:14                               ` ny6p01
2012-05-17 19:25                                 ` Alan McKinnon
2012-05-17 23:56                                   ` Peter Humphrey
2012-05-17 19:29                               ` Michael Scherer
2012-05-17 21:10                               ` Michael Mol
2012-05-17 18:06                             ` Pandu Poluan
2012-05-17 20:13                               ` Michael Scherer
2012-05-17 20:50                                 ` Hinnerk van Bruinehsen
2012-05-21  3:24                                   ` Joshua Murphy
2012-07-03 11:11                                     ` [gentoo-user] Re: make of gentoo-sources-3.2.12 fails [SOLVED] Michael Scherer
2012-05-17 20:51                                 ` Michael Scherer [this message]
2012-05-17 20:59                                 ` [gentoo-user] Re: make of gentoo-sources-3.2.12 fails Alex Schuster
2012-05-23  2:10                                   ` Michael Scherer
2012-05-23  6:05                                     ` Pandu Poluan
2012-05-19  3:18                         ` Volker Armin Hemmann
2012-05-19 16:59                           ` Arttu V.
2012-05-26 11:33                       ` luis jure
2012-05-14 18:25                 ` Tanstaafl
2012-05-14 19:11                   ` Alecks Gates
2012-05-14 19:23                     ` Michael Mol
2012-05-15  0:03                       ` Pandu Poluan
2012-05-15  0:05                         ` Alecks Gates
2012-05-15  0:16                           ` Pandu Poluan
2012-05-14 20:51                     ` Alan McKinnon
2012-05-14 21:01                       ` Michael Mol
2012-05-14 21:24                         ` Alan McKinnon
2012-05-14 21:53                           ` Neil Bothwick
2012-05-14 23:23                             ` Alan McKinnon
2012-05-14 23:35                               ` Michael Mol
2012-05-14 23:26                             ` Michael Mol
2012-05-14 23:55                     ` Pandu Poluan
2012-05-14 21:56                 ` Neil Bothwick
2012-05-09 13:15 ` [gentoo-user] Are those "green" drives any good? Volker Armin Hemmann
2012-05-09 22:37   ` Dale
2012-05-10 16:20 ` Norman Invasion
2012-05-10 18:01   ` Mark Knecht
2012-05-10 18:13     ` Norman Invasion
2012-05-10 18:51       ` Mark Knecht
2012-05-12  9:34         ` Mick
2012-05-12  9:49           ` Volker Armin Hemmann
2012-05-13  9:35           ` David Haller
2012-05-10 19:24     ` David Haller
2012-05-11  1:15   ` Bill Kenworthy
2012-05-12 18:50   ` Frank Steinmetzger
2012-05-13  9:38     ` David Haller
2012-05-21 21:05       ` Frank Steinmetzger
2012-05-21 22:44         ` Andrew Hoffman
2012-05-10 19:36 ` David Haller
2012-05-10 21:25   ` Neil Bothwick
2012-05-10 20:17 ` Mark Knecht

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=20120517225151.7b269382@unet.univie.ac.at \
    --to=a6702894@unet.univie.ac.at \
    --cc=gentoo-user@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox