Skip to content

Liddy’s Linux 11.0 编译日志 Day5

…首先对现如今的成果进行备份好了,挂载Liddy’s Linux所在分区于/lfs之后,运行以下命令进行备份:

tar -acf /media/liddy/common/liddyslinux.11.0.20210920.tar.xz $lfs之后

备份完毕之后,第一件事就是重新编译一遍GCC——添加编译LFS时未有添加进去的所有语言,日后编译其他程式包时需要这些。

…从今日开始编译大型程式包之时会切换至Liddy’s Linux,小程式包的话依旧使用Kubuntu+chroot模式进行,可以更好的记录编译过程以及遇到的各种各样的问题。

——第三天,没错…终于将GCC编译与测试完毕了,不知为何咱使用的计算机编译与测试需要极大量的时间,不仅仅BLFS间标识的大概70余SBU,500SBU都有…总之,计算机不间断工作了一两日之后,就该是正式安装的时间了。安装之后下一步打算…按照如下顺序进行编译:

几乎所有以下步骤需要用到的程式包/库 ==> X Window Server ==> Qt5 ==> KDE Plasma ==>画使们需要用到的工具等

顺序就按照以前编译Liddy’s Linux时的顺序编译,需要编译的所有基础程式包首先编译完毕,那时候还是2019年…两年过去了,若是软件包依赖关系有更新的话,按照新的依赖关系继续编译。若是有看到的,同样正在编译BLFS的诸位的话,也可以参照咱所给出的程式包编译顺序——毕竟BLFS中程式包的依赖关系甚是错综复杂。

…顺带一提,编译Liddy’s Linux的所有程式包时,均会尽可能满足程式包的所有依赖/推荐/可选条件——除非因为依赖条件错综复杂时…而且也确实如此,必要的舍去一些推荐/可选依赖包。

随后,这些是GCC-11.2.0再测试的结果:

=== gcc tests ===


Running target unix
FAIL: gcc.dg/analyzer/analyzer-verbosity-2a.c (test for excess errors)
FAIL: gcc.dg/analyzer/analyzer-verbosity-3a.c (test for excess errors)
FAIL: gcc.dg/analyzer/edges-1.c (test for excess errors)
FAIL: gcc.dg/analyzer/file-1.c (test for excess errors)
FAIL: gcc.dg/analyzer/file-2.c (test for excess errors)
FAIL: gcc.dg/analyzer/file-paths-1.c (test for excess errors)
FAIL: gcc.dg/analyzer/file-pr58237.c (test for excess errors)
FAIL: gcc.dg/analyzer/pr99716-1.c (test for excess errors)

=== gcc Summary ===

# of expected passes 160220
# of unexpected failures 8
# of expected failures 854
# of unsupported tests 2407
/sources/gcc-11.2.0/build/gcc/xgcc version 11.2.0 (GCC)

=== gdc tests ===


Running target unix

=== gdc Summary ===

# of expected passes 10235
# of unsupported tests 331
/sources/gcc-11.2.0/build/gcc/gdc version 11.2.0 (GCC)

=== gfortran tests ===


Running target unix

=== gfortran Summary ===

# of expected passes 56667
# of expected failures 222
# of unsupported tests 91
/sources/gcc-11.2.0/build/gcc/gfortran version 11.2.0 (GCC)

=== g++ tests ===


Running target unix
FAIL: g++.dg/asan/asan_test.C -O2 (test for excess errors)
UNRESOLVED: g++.dg/asan/asan_test.C -O2 compilation failed to produce executable

=== g++ Summary ===

# of expected passes 207329
# of unexpected failures 1
# of expected failures 1073
# of unresolved testcases 1
# of unsupported tests 9048
/sources/gcc-11.2.0/build/gcc/xg++ version 11.2.0 (GCC)

=== go tests ===


Running target unix
FAIL: go.test/test/fixedbugs/issue10441.go -O (test for excess errors)
FAIL: ./index0-out.go execution, -O0 -g -fno-var-tracking-assignments

=== go Summary ===

# of expected passes 8893
# of unexpected failures 2
# of untested testcases 6
# of unsupported tests 27
/sources/gcc-11.2.0/build/gcc/gccgo version 11.2.0 (GCC)

=== obj-c++ tests ===


Running target unix

=== obj-c++ Summary ===

# of expected passes 1482
# of expected failures 10
# of unsupported tests 77
/sources/gcc-11.2.0/build/gcc/xg++ version 11.2.0 (GCC)

=== objc tests ===


Running target unix

=== objc Summary ===

# of expected passes 2820
# of expected failures 6
# of unsupported tests 68
/sources/gcc-11.2.0/build/gcc/xgcc version 11.2.0 (GCC)

=== gotools tests ===


=== gotools Summary ===
# of expected passes 397
# of untested testcases 123

=== libatomic tests ===


Running target unix

=== libatomic Summary ===

# of expected passes 54
=== libffi tests ===


Running target unix

=== libffi Summary ===

# of expected passes 2229
=== libgo tests ===


Running target unix
FAIL: runtime/pprof
FAIL: syscall

=== libgo Summary ===

# of expected passes 182
# of unexpected failures 2
=== libgomp tests ===


Running target unix

=== libgomp Summary ===

# of expected passes 8413
# of expected failures 4
# of unsupported tests 546
=== libitm tests ===


Running target unix

=== libitm Summary ===

# of expected passes 44
# of expected failures 3
# of unsupported tests 1
=== libphobos tests ===


Running target unix

=== libphobos Summary ===

# of expected passes 784
# of unsupported tests 2
=== libstdc++ tests ===


Running target unix
FAIL: 17_intro/headers/c++1998/49745.cc (test for excess errors)
FAIL: 22_locale/numpunct/members/char/3.cc execution test
FAIL: 22_locale/time_get/get_time/char/2.cc execution test
FAIL: 22_locale/time_get/get_time/char/wrapped_env.cc execution test
FAIL: 22_locale/time_get/get_time/char/wrapped_locale.cc execution test
FAIL: 22_locale/time_get/get_time/wchar_t/2.cc execution test
FAIL: 22_locale/time_get/get_time/wchar_t/wrapped_env.cc execution test
FAIL: 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc execution test
FAIL: 27_io/filesystem/iterators/directory_iterator.cc execution test
FAIL: 27_io/filesystem/iterators/recursive_directory_iterator.cc execution test
FAIL: 27_io/filesystem/operations/exists.cc execution test
FAIL: 27_io/filesystem/operations/is_empty.cc execution test
FAIL: 27_io/filesystem/operations/remove.cc execution test
FAIL: 27_io/filesystem/operations/remove_all.cc execution test
FAIL: 27_io/filesystem/operations/status.cc execution test
FAIL: 27_io/filesystem/operations/symlink_status.cc execution test
FAIL: 27_io/filesystem/operations/temp_directory_path.cc execution test
FAIL: experimental/filesystem/iterators/directory_iterator.cc execution test
FAIL: experimental/filesystem/iterators/recursive_directory_iterator.cc execution test
FAIL: experimental/filesystem/operations/exists.cc execution test
FAIL: experimental/filesystem/operations/is_empty.cc execution test
FAIL: experimental/filesystem/operations/remove.cc execution test
FAIL: experimental/filesystem/operations/remove_all.cc execution test
FAIL: experimental/filesystem/operations/temp_directory_path.cc execution test

=== libstdc++ Summary ===

# of expected passes 14807
# of unexpected failures 24
# of expected failures 104
# of unsupported tests 352

Compiler version: 11.2.0 (GCC)
Platform: x86_64-pc-linux-gnu
configure flags: –prefix=/usr –disable-multilib –with-system-zlib –enable-languages=c,c++,d,fortran,go,objc,obj-c++

…总之安装GCC之后,继续编译其他的程式包罢。

按照“Introduction to Xorg-7”的指引配置了/etc/profile.d/xorg.sh,另外提前创建且添加了/etc/sudoers.d/xorg。X Window Server的安装目录为/usr。

…看起来直至Doxygen编译与安装成功之前,有不少程式包的文档没有编译…哎,但是没有办法,程式包间互相的依赖关系非常繁杂。

编译libpaper之时设置了/etc/papersize为A4。

根据“Configuring the JAVA environment”设置了JAVA(Setting up the Certificate Authority Certificates for Java除外)。

…安装apache-ant-1.10.11的时候发现问题,无论chroot模式还是实际系统当中均无法下载必要的文件…但是kubuntu中随时都可以顺利下载…总之今日暂且到这里好了,明日凌晨或是清晨再继续试一试,若还不行,再想别的方法。

今日编译并安装的程式包列表:
GCC-11.2.0 再安装
util-macros-1.19.3
Unzip-6.0
SQLite-3.36.0
Zip-3.0
LZO-2.10
Pixman-0.40.0
libuv-1.26.0
Nettle-3.7.3
ICU-69.1
libxml2-2.9.12
libarchive-3.5.2
libgpg-error-1.42
Pth-2.0.7
libgcrypt-1.9.4
sgml-common-0.6.3
docbook-xml-4.5
docbook-xsl-nons-1.79.2(可选中缺失apache-ant,Ruby,Python2——不准备安装Python2)
libxslt-1.1.34
NSPR-4.32
NSS-3.69
libtasn1-4.17.0
p11-kit-0.24.0
make-ca-1.7
cURL-7.78.0(可选软件包全部未有安装…)
nghttp2-1.44.0(同样,可选软件包全部未有安装…另外未编译示例程式等)
CMake-3.21.2(未编译GUI)
Boost-1.77.0
Valgrind-3.17.0
Sharutils-4.15.2
Berkeley DB-5.3.28
libunistring-0.9.10
libatomic_ops-7.6.10
GC-8.0.4
Guile-3.0.7
Python3 模块 six-1.16.0
GDB-10.2
PCRE-8.45
GLib-2.68.4
libical-3.0.10
dbus-1.12.20「日后需要重新安装!安装完毕X Window Server之后重新编译安装——因为需要安装dbus-launch」
BlueZ-5.61
libssh2-1.9.0
JSON-C-0.15
Fontconfig-2.13.1(可选中缺DocBook-utils-0.6.14与texlive-20210325)
libpaper-1.1.24+nmu5
libidn-1.38(缺OpenJDK)
xmlto-0.0.28(缺fop)
giflib-5.2.1
Asciidoc-9.1.0
NASM-2.15.05
libjpeg-turbo-2.1.1(添加了-DWITH_JPEG8:ON)
libtiff-4.3.0(缺Freeglut)
libwebp-1.2.1(缺SDL,Freeglut)
Java Binary 16.0.2

Published inLiddy's Linux编译日志

Be First to Comment

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

20 + 13 =