All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Subject: 2.6.25-rc2, Problem running 'make install' as root with different gcc
Date: Sun, 17 Feb 2008 17:36:37 +0200	[thread overview]
Message-ID: <47B85485.2020000@qumranet.com> (raw)

Trying to install a built 2.5.25-rc2 on a machine with a different gcc 
installed fails with

  LDS     arch/x86/vdso/vdso.lds
cc1: fatal error: opening output file arch/x86/vdso/vdso.lds: Permission 
denied
compilation terminated.
make[1]: *** [arch/x86/vdso/vdso.lds] Error 1
make: *** [vdso_install] Error 2

I believe this is due to arch/x86/vdso/.vdso.lds.cmd containing

cmd_arch/x86/vdso/vdso.lds := gcc -E -Wp,-MD,arch/x86/vdso/.vdso.lds.d  
-nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.1/include 
-D__KERNEL__ -Iinclude  -include include/linux/autoconf.h   -P -C 
-D__ASSEMBLY__ -o arch/x86/vdso/vdso.lds arch/x86/vdso/vdso.lds.S

'-isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.1/include' changes with 
the gcc version, triggering the recompilation attempt, which fails since 
my home directory is nfs mounted.

This didn't trigger with previous versions, and I have no idea how to 
fix it.

-- 
error compiling committee.c: too many arguments to function


             reply	other threads:[~2008-02-17 15:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-17 15:36 Avi Kivity [this message]
2008-02-17 19:40 ` 2.6.25-rc2, Problem running 'make install' as root with different gcc Sam Ravnborg

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=47B85485.2020000@qumranet.com \
    --to=avi@qumranet.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.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.