public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.25-rc2, Problem running 'make install' as root with different gcc
@ 2008-02-17 15:36 Avi Kivity
  2008-02-17 19:40 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Avi Kivity @ 2008-02-17 15:36 UTC (permalink / raw)
  To: linux-kernel; +Cc: Sam Ravnborg

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-17 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-17 15:36 2.6.25-rc2, Problem running 'make install' as root with different gcc Avi Kivity
2008-02-17 19:40 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox