Hello,
I've downloaded the latest sources for FreeBSD 11.0 RELEASE, exactly:
and have done a
# make buildworld with:
after 90 minutes it comes to that error, where I can not find any help.
This is the end of the buildworld.log file:
I believe the imortend lines are:
I found less equal problems on the web. Because of what was there written I do:
->OK is there
-> 8551 files
--> -rwxr-xr-x 1 root wheel 1914098 9 Mrz 13:58 /usr/obj/usr/src/lib/libc/libc.so.7
It looks that it has been build.
file = determine file type
--> /usr/obj/usr/src/lib/libc/libc.so.7: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, not stripped
readelf = display information about ELF objects
ELF = Executable and Linking Format
In https://www.mail-archive.com/freebsd-stable@freebsd.org/msg133416.html he says: "
Hm, that all looks perfectly normal, supposing that you are on amd64." I'm on a virtuall machine with deticated 2 cores of "Intel® Xeon® E5-2680V4 / 2 CPU". I belive the right target is for this AMD64.
I write in make.conf for that:
Have anyone a idea what do to - or where to find a solution for that error?
Thanks a lot.
I've downloaded the latest sources for FreeBSD 11.0 RELEASE, exactly:
svn://svn.freebsd.org/base/release/11.0.1
and have done a
# make buildworld with:
script buildworld.log make -j2 buildworld
after 90 minutes it comes to that error, where I can not find any help.
This is the end of the buildworld.log file:
Code:
....
....
--- libc.a ---
building static c library
ar -crD libc.a `NM='nm' NMFLAGS='' lorder bt_close.o <to long ..input ends with 2000 character>
--- libc_p.a ---
ranlib -D libc_p.a
--- libc.so.7 ---
building shared library libc.so.7
clang -m32 -DCOMPAT_32BIT -march=core2 -L/usr/obj/usr/src/lib32/usr/lib32 --sysroot=/usr/obj/usr/src/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -nodefaultlibs -Wl,--version-script=Version.map .....<to long ..input ends with 2000 character>
--- libc.a ---
ranlib -D libc.a
./libc.so.7: unsupported file layout
make[4]: "/usr/src/lib/libc/Makefile" line 179: warning: "make -B -C /usr/src/lib/msun -V ARCH_SUBDIR" returned non-zero status
--- _libinstall ---
--- _NLSINS_be_BY.UTF-8.cat ---
--- _libinstall ---
./libc.so.7: unsupported file layout
*** [_libinstall] Error code 1
make[4]: stopped in /usr/src/lib/libc
--- _NLSINS_be_BY.UTF-8.cat ---
./libc.so.7: unsupported file layout
*** [_NLSINS_be_BY.UTF-8.cat] Error code 1
make[4]: stopped in /usr/src/lib/libc
2 errors
make[4]: stopped in /usr/src/lib/libc
*** [lib/libc__L] Error code 2
make[3]: stopped in /usr/src
1 error
make[3]: stopped in /usr/src
*** [libraries] Error code 2
make[2]: stopped in /usr/src
1 error
make[2]: stopped in /usr/src
*** [build32] Error code 2
make[1]: stopped in /usr/src
1 error
make[1]: stopped in /usr/src
*** [buildworld] Error code 2
make: stopped in /usr/src
1 error
make: stopped in /usr/src
Code:
building shared library libc.so.7
clang -m32....
ranlib -D libc.a
./libc.so.7: unsupported file layout
--- _libinstall ---
--- _NLSINS_be_BY.UTF-8.cat ---
--- _libinstall ---
./libc.so.7: unsupported file layout
*** [_libinstall] Error code 1
make[4]: stopped in /usr/src/lib/libc
--- _NLSINS_be_BY.UTF-8.cat ---
./libc.so.7: unsupported file layout
*** [_NLSINS_be_BY.UTF-8.cat] Error code 1
ls /usr/obj/usr/src/lib/libc
->OK is there
ls -l /usr/obj/usr/src/lib/libc | wc -l
-> 8551 files
ls -la /usr/obj/usr/src/lib/libc/libc.so.7
--> -rwxr-xr-x 1 root wheel 1914098 9 Mrz 13:58 /usr/obj/usr/src/lib/libc/libc.so.7
It looks that it has been build.
file /usr/obj/usr/src/lib/libc/libc.so.7
file = determine file type
--> /usr/obj/usr/src/lib/libc/libc.so.7: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, not stripped
readelf -h /usr/obj/usr/src/lib/libc/libc.so.7
readelf = display information about ELF objects
ELF = Executable and Linking Format
Code:
--> Magic: 7f 45 4c 46 02 01 01 09 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: FreeBSD
ABI Version: 0
Type: DYN (Shared object file)
Machine: Advanced Micro Devices x86-64
Version: 0x1
Entry point address: 0x3bc20
Start of program headers: 64 (bytes into file)
Start of section headers: 1752048 (bytes into file)
Flags: 0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 6
Size of section headers: 64 (bytes)
Number of section headers: 40
Section header string table index: 37
In https://www.mail-archive.com/freebsd-stable@freebsd.org/msg133416.html he says: "
Hm, that all looks perfectly normal, supposing that you are on amd64." I'm on a virtuall machine with deticated 2 cores of "Intel® Xeon® E5-2680V4 / 2 CPU". I belive the right target is for this AMD64.
I write in make.conf for that:
Code:
CC=clang
CXX=clang++
CPP=clang-cpp
# Certain software can be optimized for different CPU types.
# This is most effective if you upgrade your system from source
#
# AMD64 - All multi-core Intel® Xeon™ processors,
# (I got: Intel® Xeon® E5-2680V4 / 2 CPU)
# in /usr/share/examples/etc/make.conf
# AMD64 architecture: amdfam10, opteron-sse3, athlon64-sse3, k8-sse3,
# opteron, athlon64, k8, core2, nocona
CPUTYPE?=core2
BUILD_OPTIMIZED=YES
#copy form old make.conf
OPTIONS_SET=OPTIMIZED_CFLAGS #deprecated WITH_OPTIMIZED_FLAGS=YES
OPTIMIZED_CFLAGS=YES #deprecated WITH_OPTIMIZED_CFLAGS=YES
OPTIMIZED_CXXFLAGS=YES #deprecated WITH_OPTIMIZED_CXXFLAGS=YES
OPTIMIZED_CXXLAGS=YES #deprecated WITH_OPTIMIZED_CXXLAGS=YES
WITH_OPT_CFLAGS=YES
WITH_CPUFLAGS=YES
WITH_OPTIMIZATION=YES
WITHOUT="X"
#WITHOUT="X11"
X11BASE=${LOCALBASE}
#...
Have anyone a idea what do to - or where to find a solution for that error?
Thanks a lot.