Re: WARNING: 7-STABLE BROKEN -- please wait to upgrade



O. Hartmann wrote:
Alex Goncharov wrote:
,--- You/Kostik (Wed, 27 Aug 2008 19:04:32 +0300) ----*
| cd into /usr/src/gnu/usr.bin/cc/cc1,
| and do
| make install DEBUG_FLAGS=-g

That simple thing didn't work for me:

make install DEBUG_FLAGS=-g
install -o root -g wheel -m 555 cc1 /usr/libexec
install: cc1: No such file or directory
*** Error code 71

I updated and installed world this morning -- and indeed had this

gcc: Internal error: Abort trap: 6 (program cc1)

while compiling something, as a result.

But I've found what may be an extremely easy way out of this hole: I
copied over /usr/libexec/cc1 from another machine, which had a code
built on Aug 17. Then my `cc1' worked fine and I tripped on a SEGV in
`as'. Then I copied over `as', then `ld', then `gcc'. And that was
it -- the build began to work.

So if anybody wants it, I can just send a package with these four
executables, to be deployed in place of the broken ones.

Let me know...

-- Alex -- alex-goncharov@xxxxxxxxxxx --

/*
* The end of the world will occur at 3:00 p.m., this Friday, with
* symposium to follow.
*/

This seems to work also (for me) on two boxes:

cd /usr/src/usr.bin/cc

make clean cleandepend depend obj all install DEBUG_FLAGS=-g

I guess the compilation directive is something odd, I remember myself that it is recommended when compiling parts of the source tree. 'all install' is a little bit paranoid, I guess, but ...

_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • SUMMARY: Compiling X11R6.8.2 or 6.8.1 or 6.8.0
    ... working on this install - there must not be much call for X11R6.8.? ... but DID manage to get Xvfb compiled and installed from within the X ... Compiling X11R6.8.2 or 6.8.1 or 6.8.0 ... *** Error code 2 ...
    (SunManagers)
  • Re: WARNING: 7-STABLE BROKEN -- please wait to upgrade
    ... install: cc1: No such file or directory ... *** Error code 71 ... gcc: Internal error: Abort trap: 6 (program cc1) ... But I was trapped by another pitfall, I do compile on specific machines with specific compiler/arch/cpu option flags, so core2 based boxes compile with 'nocona' while older AMD Athlon64 based machines compile with 'k8'. ...
    (freebsd-stable)
  • Re: GCC 4.3.2 doesnt find cc1.exe
    ... those whom I'd expect to see a response from, ... except for version numbers, gcc, cpp, cc1, libgcc.a, etc. are in the same ... some gcc for your modified installs isn't finding some cc1 ... you say you did install libexec and therefore ...
    (comp.os.msdos.djgpp)
  • Re: WARNING: 7-STABLE BROKEN -- please wait to upgrade
    ... install: cc1: No such file or directory ... *** Error code 71 ... gcc: Internal error: Abort trap: 6 (program cc1) ... built on Aug 17. ...
    (freebsd-stable)
  • Re: JAVA and MOZILLA
    ... so I wne to try to install it. ... *** Error code 2 ... Did you have any of these issues when compiling jdk13? ...
    (freebsd-questions)