ELF binary type error during "make buildworld"

CB ecliptica.ww at virgin.net
Fri Jan 4 23:50:22 GMT 2002


This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C1957A.9307DF80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Many thanks to John Rochester for advice on supfile settings.=20

cvsup ran fine and in the course of a couple of hours all source files =
appear to have been updated on the system.

Following the advice of the Handbook #19.4 "Using make world", I =
initiated a script file and set the machine to work doing a "make =
buildworld". For over two hours all appeared to go fine until it bombed =
at:

cc -nostdinc -0 -pipe =
-I/usr/src/gnu/usr.bin/perl/perl/../../../../contrib/perl5 =
-I/usr/obj/usr/src/gnu/usr.bin/perl/perl =
-I/usr/obj/usr/src/i386/usr/include -c perlmain.c
ELF binary type not known. Use "brandelf" to brand it.
Abort trap
*** Error code 134
Stop in /usr/src/gnu/usr.bin/perl/perl.
*** Error code 1
Stop in /usr/src/gnu/usr.bin/perl.
*** Error code 1
Stop in /usr/src/gnu/usr.bin.
*** Error code 1
Stop in /usr/src/gnu.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
# exit

This seems to be the compiler having a problem with the source file =
perlmain.c

I located the file perlmain.c in directory =
/usr/obj/usr/src/gnu/usr.bin/perl/perl
and having checked the man page for "brandelf" tried running the command
brandelf -t FreeBSD perlmain.c
from within that directory.

It returns:
brandelf: file 'perlmain.c' is not in ELF format

The same response when I use brandelf with the -f command line switch =
(forces branding).

Is this a problem other people have encountered?
Am I doing something wrong?
Is there an easy fix?
Are other files likely to be similarly affected?
If I fix/replace this file will "make buildworld" insist on running =
through the whole performance again from the beginning or can it pick up =
where it left off?

Many thanks for any helpful guidance.
Charles



------=_NextPart_000_000B_01C1957A.9307DF80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Many thanks to John Rochester for =
advice on supfile=20
settings. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>cvsup ran fine and in the course of a =
couple of=20
hours all source files appear to have been updated on the =
system.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Following the advice of the Handbook =
#19.4 "Using=20
make world", I initiated a script file and set the machine to work doing =
a "make=20
buildworld". For over two hours all appeared to go fine until it bombed=20
at:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>cc -nostdinc -0 -pipe=20
-I/usr/src/gnu/usr.bin/perl/perl/../../../../contrib/perl5=20
-I/usr/obj/usr/src/gnu/usr.bin/perl/perl =
-I/usr/obj/usr/src/i386/usr/include -c=20
perlmain.c<BR>ELF binary type not known. Use "brandelf" to brand =
it.<BR>Abort=20
trap<BR>*** Error code 134<BR>Stop in =
/usr/src/gnu/usr.bin/perl/perl.<BR>***=20
Error code 1<BR>Stop in /usr/src/gnu/usr.bin/perl.<BR>*** Error code =
1<BR>Stop=20
in /usr/src/gnu/usr.bin.<BR>*** Error code 1<BR>Stop in =
/usr/src/gnu.<BR>***=20
Error code 1<BR>Stop in /usr/src.<BR>*** Error code 1<BR>Stop in =
/usr/src.<BR>#=20
exit</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This seems to be the compiler having a =
problem with=20
the source file perlmain.c</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I located the file perlmain.c in =
directory=20
/usr/obj/usr/src/gnu/usr.bin/perl/perl<BR>and having checked the man =
page for=20
"brandelf" tried running the command<BR>brandelf -t FreeBSD =
perlmain.c<BR>from=20
within that directory.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It returns:<BR>brandelf: file =
'perlmain.c' is not=20
in ELF format</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The same response when I use brandelf =
with the -f=20
command line switch (forces branding).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is this a problem other people have=20
encountered?<BR>Am I doing something wrong?<BR>Is there an easy =
fix?<BR>Are=20
other files likely to be similarly affected?<BR>If I fix/replace this =
file will=20
"make buildworld" insist on running through the whole performance again =
from the=20
beginning or can it pick up where it left off?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Many thanks for any helpful=20
guidance.<BR>Charles</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000B_01C1957A.9307DF80--





More information about the Ukfreebsd mailing list