Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build broken -groff and c++ compiler



Hi Christos,

Christos Zoulas wrote:
On Oct 6,  9:18pm, riccardo.mottola%libero.it@localhost (Riccardo Mottola) 
wrote:
-- Subject: Re: build broken -groff and c++ compiler

| Hi Christos,
|
| Thanks.
|
| Christos Zoulas wrote:
| > On Oct 6,  2:21pm, riccardo.mottola%libero.it@localhost (Riccardo Mottola) 
wrote:
| > -- Subject: Re: build broken -groff and c++ compiler
| >
| > | Hi,
| > |
| > | Christos Zoulas wrote:
| > | > 1. cvs update to head
| > | > 2. cd /usr/src/external/gpl3/binutils
| > | > 3. for i in lib usr.bin usr.sbin; do (cd $i && make && make install); 
done
| > | thanks, but it fails with:
| >
| > Add USETOOLS=never to the make lines.
| >
| Hi, that helped quite a bit, however:
|
| #   compile  addr2line/filemode.o
| gcc -O2 -O2 -fexpensive-optimizations -march=pentium-m -std=gnu99
| -I/usr/src/external/gpl3/binutils/usr.bin/addr2line/../common/arch/i386
| -DHAVE_CONFIG_H -I/usr/src/external/gpl3/binutils/lib/libbfd/arch/i386
| -I/usr/src/external/gpl3/binutils/dist/include
| -I/usr/src/external/gpl3/binutils/dist/bfd
| -I/usr/src/external/gpl3/binutils/dist/binutils
| -DLOCALEDIR=\"/usr/share/locale\"  -c
| /usr/src/external/gpl3/binutils/dist/binutils/filemode.c
| make[1]: don't know how to make
| /usr/src/external/gpl3/binutils/lib/libiberty/libiberty.a. Stop

Looks like objdir or incomplete build confusion. Remove any objdirs and
their contents, make cleandir, make obj, make dependall, make install
first in lib and then in the bin directories.
good news: once lib/bin/sbin where in place, binutils compiled and indtalled cleanly.

During the night I rebuilt a complete distribution from scratch and installed it! No C++ and Objective-c work again.

I will work my way up in pkgsrc now, it will take a bit, I'll report later in a separate thread.

Riccardo


Home | Main Index | Thread Index | Old Index