Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge poppler failure on ARM64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
dteng
n00b
n00b


Joined: 05 May 2022
Posts: 2

PostPosted: Thu May 05, 2022 11:27 pm    Post subject: emerge poppler failure on ARM64 Reply with quote

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
FAILED: CMakeFiles/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.
 * ERROR: app-text/poppler-22.03.0::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 2025:  Called cmake_src_compile
 *   environment, line  802:  Called cmake_build
 *   environment, line  771:  Called eninja
 *   environment, line 1228:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=app-text/poppler-22.03.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/poppler-22.03.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-text/poppler-22.03.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-22.03.0/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0_build'
 * S: '/var/tmp/portage/app-text/poppler-22.03.0/work/poppler-22.03.0'
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1707

PostPosted: Fri May 06, 2022 12:16 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Fri May 06, 2022 11:03 am    Post subject: Reply with quote

Moved from Portage & Programming to Gentoo on ARM.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dteng
n00b
n00b


Joined: 05 May 2022
Posts: 2

PostPosted: Fri May 06, 2022 2:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54421
Location: 56N 3W

PostPosted: Fri May 06, 2022 4:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
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