View previous topic :: View next topic |
Author |
Message |
dteng n00b
Joined: 05 May 2022 Posts: 2
|
Posted: Thu May 05, 2022 11:27 pm Post subject: emerge poppler failure on ARM64 |
|
|
I did 'emerge -uvDN --with-bdeps=y --keep-going @world' recently to upgrade my system on raspi3B+ and got internal compiler error when compiling poppler. Wonder if anyone have similar issue?
Code: |
[85/249] /usr/bin/aarch64-unknown-linux-gnu-g++ -Dpoppler_EXPORTS -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0 -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/fofi -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/goo -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/poppler -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0_build -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0_build/poppler -isystem /usr/include/openjpeg-2.4 -isystem /usr/include/freetype2 -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wcast-align -Wformat-security -Wframe-larger-than=65536 -Wmissing-format-attribute -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-declarations -Wundef -Wzero-as-null-pointer-constant -Wshadow -Wsuggest-override -O2 -pipe -Wnon-virtual-dtor -Woverloaded-virtual -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++17 -MD -MT CMakeFiles/poppler.dir/poppler/CertificateInfo.cc.o -MF CMakeFiles/poppler.dir/poppler/CertificateInfo.cc.o.d -o CMakeFiles/poppler.dir/poppler/CertificateInfo.cc.o -c /var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/poppler/CertificateInfo.cc
[86/249] /usr/bin/aarch64-unknown-linux-gnu-g++ -Dpoppler_EXPORTS -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0 -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/fofi -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/goo -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/poppler -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0_build -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0_build/poppler -isystem /usr/include/openjpeg-2.4 -isystem /usr/include/freetype2 -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wcast-align -Wformat-security -Wframe-larger-than=65536 -Wmissing-format-attribute -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-declarations -Wundef -Wzero-as-null-pointer-constant -Wshadow -Wsuggest-override -O2 -pipe -Wnon-virtual-dtor -Woverloaded-virtual -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++17 -MD -MT CMakeFiles/poppler.dir/poppler/BBoxOutputDev.cc.o -MF CMakeFiles/poppler.dir/poppler/BBoxOutputDev.cc.o.d -o CMakeFiles/poppler.dir/poppler/BBoxOutputDev.cc.o -c /var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/poppler/BBoxOutputDev.cc
[87/249] /usr/bin/aarch64-unknown-linux-gnu-g++ -Dpoppler_EXPORTS -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0 -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/fofi -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/goo -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/poppler -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0_build -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0_build/poppler -isystem /usr/include/openjpeg-2.4 -isystem /usr/include/freetype2 -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wcast-align -Wformat-security -Wframe-larger-than=65536 -Wmissing-format-attribute -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-declarations -Wundef -Wzero-as-null-pointer-constant -Wshadow -Wsuggest-override -O2 -pipe -Wnon-virtual-dtor -Woverloaded-virtual -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++17 -MD -MT CMakeFiles/poppler.dir/poppler/SplashOutputDev.cc.o -MF CMakeFiles/poppler.dir/poppler/SplashOutputDev.cc.o.d -o CMakeFiles/poppler.dir/poppler/SplashOutputDev.cc.o -c /var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/poppler/SplashOutputDev.cc
[88/249] /usr/bin/aarch64-unknown-linux-gnu-g++ -Dpoppler_EXPORTS -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0 -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/fofi -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/goo -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/poppler -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0_build -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0_build/poppler -isystem /usr/include/openjpeg-2.4 -isystem /usr/include/freetype2 -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wcast-align -Wformat-security -Wframe-larger-than=65536 -Wmissing-format-attribute -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-declarations -Wundef -Wzero-as-null-pointer-constant -Wshadow -Wsuggest-override -O2 -pipe -Wnon-virtual-dtor -Woverloaded-virtual -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++17 -MD -MT CMakeFiles/poppler.dir/splash/Splash.cc.o -MF CMakeFiles/poppler.dir/splash/Splash.cc.o.d -o CMakeFiles/poppler.dir/splash/Splash.cc.o -c /var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/splash/Splash.cc
[31mFAILED: [0mCMakeFiles/poppler.dir/splash/Splash.cc.o
/usr/bin/aarch64-unknown-linux-gnu-g++ -Dpoppler_EXPORTS -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0 -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/fofi -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/goo -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/poppler -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0_build -I/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0_build/poppler -isystem /usr/include/openjpeg-2.4 -isystem /usr/include/freetype2 -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wcast-align -Wformat-security -Wframe-larger-than=65536 -Wmissing-format-attribute -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-declarations -Wundef -Wzero-as-null-pointer-constant -Wshadow -Wsuggest-override -O2 -pipe -Wnon-virtual-dtor -Woverloaded-virtual -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++17 -MD -MT CMakeFiles/poppler.dir/splash/Splash.cc.o -MF CMakeFiles/poppler.dir/splash/Splash.cc.o.d -o CMakeFiles/poppler.dir/splash/Splash.cc.o -c /var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/splash/Splash.cc
during GIMPLE pass: forwprop
/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/splash/Splash.cc: In member function ‘void Splash::fillGlyph2(int, int, SplashGlyphBitmap*, bool)’:
/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0/splash/Splash.cc:2610:6: internal compiler error: Segmentation fault
2610 | void Splash::fillGlyph2(int x0, int y0, SplashGlyphBitmap *glyph, bool noClip)
| ^~~~~~
0x177957b internal_error(char const*, ...)
???:0
0x10c05db gimple_simplify(gimple*, gimple_match_op*, gimple**, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*))
???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
ninja: build stopped: subcommand failed.
[31;01m*[0m ERROR: app-text/poppler-22.03.0::gentoo failed (compile phase):
[31;01m*[0m ninja -v -j1 -l0 failed
[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 127: Called src_compile
[31;01m*[0m environment, line 2025: Called cmake_src_compile
[31;01m*[0m environment, line 802: Called cmake_build
[31;01m*[0m environment, line 771: Called eninja
[31;01m*[0m environment, line 1228: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m "$@" || die "${nonfatal_args[@]}" "${*} failed"
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=app-text/poppler-22.03.0::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=app-text/poppler-22.03.0::gentoo'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/app-text/poppler-22.03.0/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-22.03.0/temp/environment'.
[31;01m*[0m Working directory: '/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0_build'
[31;01m*[0m S: '/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0' |
|
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1707
|
Posted: Fri May 06, 2022 12:16 am Post subject: |
|
|
Internal compiler errors (ICEs) are always a compiler bug rather than a bug in the respective package.
Could you please share the full build.log and also emerge --info?
If the issue is reproducible, we will need to follow the ICE reporting guide. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Fri May 06, 2022 11:03 am Post subject: |
|
|
Moved from Portage & Programming to Gentoo on ARM. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
dteng n00b
Joined: 05 May 2022 Posts: 2
|
Posted: Fri May 06, 2022 2:59 pm Post subject: |
|
|
Thanks for the replies. Just filed a bug on bugzilla. Please use the bug post to find the build.log and emerge output. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Fri May 06, 2022 4:51 pm Post subject: |
|
|
dteng,
Hows your CPU cooiing?
What about the Pi PSU?
I can confirm that it builds as its in my arm64 binhost
That's optimised for Pi4 but it will run on a Pi3 too.
Only the instruction ordering may have been changed during optimisation, _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|