From: Alex Schuster <wonko@wonkology.org>
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:59:41 +0200 [thread overview]
Message-ID: <20120517225941.6e5eec49@weird.wonkology.org> (raw)
In-Reply-To: <20120517221302.2d87cac4@unet.univie.ac.at>
Michael Scherer writes:
> 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.
But the options look really more like ld options to me. How this could
possibly happen, I don't know. Some overriding of $(LD) perhaps? Does
"env | egrep -i 'ls|ld'" show something weird? Does it also fail as a
non-root user, after you copied the stuff over to somewhere where this
user can write? Just grasping at straws here.
> But without doubt you are right that mounts.o is not built, for
> whatever reason.
Because ld should build it from init/do_mounts.o, but ls is being called
instead?
> 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.
Neither can I. Is this command executed at all? If you maybe replace the
'gcc' by 'gccXXX', does this give an error? Or put an 'echo' in
front of the gcc'.
You can try 'make -d', this will give you LOTS of debug output, but I
don't think you will see the actual commands then.
Wonko
next prev parent reply other threads:[~2012-05-17 21:01 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 ` [gentoo-user] Re: make of gentoo-sources-3.2.12 fails Michael Scherer
2012-05-17 20:59 ` Alex Schuster [this message]
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=20120517225941.6e5eec49@weird.wonkology.org \
--to=wonko@wonkology.org \
--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