Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2000 10:29:56 -0500
From:      John <papalia@udel.edu>
To:        Ruslan Ermilov <ru@ucb.crimea.ua>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Failed Installworld... Help?
Message-ID:  <4.1.20000217102831.00960f00@mail.udel.edu>
In-Reply-To: <20000217165157.B38813@relay.ucb.crimea.ua>
References:  <4.1.20000217093610.009f6e60@mail.udel.edu> <4.1.20000216234007.009febf0@mail.udel.edu> <4.1.20000216124259.00a4b100@mail.udel.edu> <4.1.20000216124259.00a4b100@mail.udel.edu> <20000216200539.A34276@relay.ucb.crimea.ua> <4.1.20000216234007.009febf0@mail.udel.edu> <20000217102825.B19613@relay.ucb.crimea.ua> <4.1.20000217093610.009f6e60@mail.udel.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
<snip original text>

>> Outputs were as follows:
>> 
>> ># /usr/bin/which file strip
>> # /usr/bin/which file strip
>> /usr/bin/file
>> /usr/bin/strip
>> 
>> ># /usr/bin/objformat
>> # /usr/bin/objformat
>> elf
>> 
>> ># /usr/bin/file /bin/cat
>> # /usr/bin/file /bin/cat
>> /bin/cat: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),
>> statically linked, not stripped
>> 
>> ># /usr/bin/env OBJFORMAT_PATH=/usr/obj/var/src/tmp/usr/libexec 
>> >/usr/bin/strip /bin/cat
>> 
>> # /usr/bin/env OBJFORMAT_PATH=/usr/obj/var/src/tmp/usr/libexec
>> /usr/bin/strip /bin/cat
>> strip: could not exec elf/strip in /usr/obj/var/src/tmp/usr/libexec: No
>> such file or directory
>> 
>> This output caused me to wonder what was going on... I think I figured it
>> out... my source tree is in its own file system called /cvs. So, I modified
>> the above command line to the following and got the following output:
>> 
>> # /usr/bin/env OBJFORMAT_PATH=/usr/obj/cvs/src/tmp/usr/libexec
>> /usr/bin/strip /bin/cat
>> /usr/obj/cvs/src/tmp/usr/libexec/elf/strip: /bin/stGiZE50: Operation not
>> permitted
>> 
>> Which, as can be guess led to:
>> 
>> ># /usr/bin/strip /bin/cat
>> 
>> # /usr/bin/strip /bin/cat
>> /usr/libexec/elf/strip: /bin/sttWAj29: Operation not permitted
>> 
>> Does this help at all?  If so, what's it tell us?
>> 
>Try to compile a simple "{}" C program and put it into /tmp.
>Does the /usr/bin/strip fails with the same error?
>
>If yes, could you recompile the whole src/gnu/usr.bin/binutils with
>`make -DDEBUG_FLAGS=-g clean all', and then try to
>`gdb <compiled_strip_binary> /bin/cat' again to see where in source
>it does fail?


I don't even get past the "make -DDEBUG_FLAGS=-g clean all". It fails as
follows:

===> libiberty
cc -O -pipe -D_GNU_SOURCE -I- -I. -I/cvs/src/gnu/usr.bin/binutils/libiberty
-I/c
vs/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386
-I/cvs/src/gnu/usr.bin/binu
tils/libiberty/../../../../contrib/binutils/include -c
/cvs/src/gnu/usr.bin/binu
tils/libiberty/../../../../contrib/binutils/libiberty/argv.c -o argv.o
mv: argv.o.tmp: No such file or directory
*** Error code 1

Any idea?

Thanks again,
John


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.20000217102831.00960f00>