Status: Assigned
Owner: [email protected]
CC: [email protected],  [email protected]
Labels: Type-Bug Pri-2 OS-Linux Area-Infrastructure Size-Medium

New issue 15702 by [email protected]: install-build-deps.sh: gold  
install will fail on Google workstation NFS home
http://code.google.com/p/chromium/issues/detail?id=15702

What steps will reproduce the problem?
1. Have chromium checkout on your Google desktop workstation.
2. Run install-build-deps.sh and choose to use gold.

What is the expected output? What do you see instead?

I expect it to build and install gold. However, it fails to install gold
like this:

rm -f libgold.a
ar cru libgold.a archive.o binary.o common.o compressed_output.o
copy-relocs.o cref.o defstd.o descriptors.o dirsearch.o dynobj.o
dwarf_reader.o ehframe.o errors.o expression.o fileread.o gold.o
gold-threads.o layout.o mapfile.o merge.o object.o options.o output.o
parameters.o readsyms.o reduced_debug_output.o reloc.o resolve.o
script-sections.o script.o stringpool.o symtab.o target-select.o
version.o workqueue.o workqueue-threads.o  yyscript.o
ranlib libgold.a
g++ -W -Wall   -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-frandom-seed=ld-new -g -O2   -o ld-new  main.o i386.o x86_64.o
sparc.o powerpc.o libgold.a ../libiberty/libiberty.a    -lz
make[4]: Leaving directory `/home/phajdan/chromium/binutils-2.19.1/gold'
make[3]: Leaving directory `/home/phajdan/chromium/binutils-2.19.1/gold'
make[2]: Leaving directory `/home/phajdan/chromium/binutils-2.19.1/gold'
make[1]: Leaving directory `/home/phajdan/chromium/binutils-2.19.1'
make: stat: GNUmakefile: Permission denied
make: stat: makefile: Permission denied
make: stat: Makefile: Permission denied
make: stat: install: Permission denied
make: *** No rule to make target `install'.  Stop.
Installing gold as /usr/bin/ld.
To uninstall, do 'cd /usr/bin; sudo rm ld; sudo mv ld.orig ld'

It's very probable that root doesn't have permission to access NFS home and
that's why it fails at Google workstations. However, simply building from
/tmp may not be a good fix, because some users may have it mounted with
noexec and I'm not sure if it will build then.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to