Internal Compiler Error building Dovecot 2.3.21 on -current
by skubik from LinuxQuestions.org on (#6PZ3M)
Trying to build Dovecot from source on a RPi3 running slackwarearm-current.
The dovecot package in -current is built with mysql/mariadb support, which I do not have installed- I'm using postgresql (which I built from a slackbuild); resulting in a file not found error when I try to connect to Dovecot to read email.
I've tried both the latest source tarball as well as up-to-date code from github, and they both fail, albeit a bit differently.
I've even tried building both on 2 different Pi's both running -current Slackware ARM and up to date, and had the same results, though at different locations in the code.
I also tried building the same tarball on a x86 system running -current Slackware64, up to date just like the Pis, and it compiled without error.
These are the errors I'm getting:
Code:libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/lib -I../../../../src/lib-test -I../../../../src/lib-settings -I../../../../src/lib-mail -I../../../../src/lib-imap -I../../../../src/lib-imap-client -I../../../../src/lib-index -I../../../../src/lib-storage -I../../../../src/lib-storage/list -I../../../../src/lib-storage/index -I../../../../src/lib-ssl-iostream -std=gnu99 -g -O2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT imapc-sync.lo -MD -MP -MF .deps/imapc-sync.Tpo -c imapc-sync.c -fPIC -DPIC -o .libs/imapc-sync.o
free(): double free detected in tcache 2
during GIMPLE pass: slp
imapc-sync.c: In function iimapc_initial_sync_checki:
imapc-sync.c:294:1: internal compiler error: Aborted
294 | imapc_initial_sync_check(struct imapc_sync_context *ctx, bool nooped)
| ^~~~~~~~~~~~~~~~~~~~~~~~
0x1b4a3df internal_error(char const*, ...)
???:0
0x7f900f39fc pthread_kill@@GLIBC_2.34
???:0
0x7f900a419b gsignal
???:0
0x7f9008bfa7 abort
???:0
0x7f900e6943 __libc_message_impl
???:0
0x7f900fe2c7 malloc_printerr
???:0
0x7f9010053b _int_free
???:0
0x7f90102b7f __free
???:0
0xfa35d7 _slp_tree::~_slp_tree()
???:0
0xfa3aa7 vect_free_slp_instance(_slp_instance*)
???:0
0xfb9a7f vect_slp_analyze_operations(vec_info*)
???:0
0xfc06a7 vect_slp_function(function*)
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[5]: *** [Makefile:597: imapc-sync.lo] Error 1
make[5]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src/lib-storage/index/imapc'
make[4]: *** [Makefile:733: all-recursive] Error 1
make[4]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src/lib-storage/index'
make[3]: *** [Makefile:1107: all-recursive] Error 1
make[3]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src/lib-storage'
make[2]: *** [Makefile:573: all-recursive] Error 1
make[2]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src'
make[1]: *** [Makefile:704: all-recursive] Error 1
make[1]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21'
make: *** [Makefile:548: all] Error 2and on the other Pi:
Code:libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -std=gnu99 -g -O2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -fPIC -DPIC -o .libs/md5.o
corrupted double-linked list
during GIMPLE pass: slp
md5.c: In function ibodyi:
md5.c:72:1: internal compiler error: Aborted
72 | body(struct md5_context *ctx, const void *data, size_t size)
| ^~~~
0x1b4a3df internal_error(char const*, ...)
???:0
0x7f98b239fc pthread_kill@@GLIBC_2.34
???:0
0x7f98ad419b gsignal
???:0
0x7f98abbfa7 abort
???:0
0x7f98b16943 __libc_message_impl
???:0
0x7f98b2e2c7 malloc_printerr
???:0
0x7f98b2eadf unlink_chunk.isra.0
???:0
0x7f98b300f7 _int_free_merge_chunk
???:0
0x7f98b32b7f __free
???:0
0xfc935f vec_info::free_stmt_vec_infos()
???:0
0xfc93f7 vec_info::~vec_info()
???:0
0xfc06a7 vect_slp_function(function*)
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[4]: *** [Makefile:1606: md5.lo] Error 1
make[4]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src/lib'
make[3]: *** [Makefile:1263: all] Error 2
make[3]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src/lib'
make[2]: *** [Makefile:573: all-recursive] Error 1
make[2]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src'
make[1]: *** [Makefile:704: all-recursive] Error 1
make[1]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21'
make: *** [Makefile:548: all] Error 2I've considered that maybe it's a disk or RAM issue on the Pi's themselves, but the SD cards seem ok but I haven't tested RAM; but I'd assume it would error-out in more random places if that were the case.
Can someone help me figure this out? I'd really appreciate it. If more output is needed, let me know and I can post it.
Thanks!
The dovecot package in -current is built with mysql/mariadb support, which I do not have installed- I'm using postgresql (which I built from a slackbuild); resulting in a file not found error when I try to connect to Dovecot to read email.
I've tried both the latest source tarball as well as up-to-date code from github, and they both fail, albeit a bit differently.
I've even tried building both on 2 different Pi's both running -current Slackware ARM and up to date, and had the same results, though at different locations in the code.
I also tried building the same tarball on a x86 system running -current Slackware64, up to date just like the Pis, and it compiled without error.
These are the errors I'm getting:
Code:libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/lib -I../../../../src/lib-test -I../../../../src/lib-settings -I../../../../src/lib-mail -I../../../../src/lib-imap -I../../../../src/lib-imap-client -I../../../../src/lib-index -I../../../../src/lib-storage -I../../../../src/lib-storage/list -I../../../../src/lib-storage/index -I../../../../src/lib-ssl-iostream -std=gnu99 -g -O2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT imapc-sync.lo -MD -MP -MF .deps/imapc-sync.Tpo -c imapc-sync.c -fPIC -DPIC -o .libs/imapc-sync.o
free(): double free detected in tcache 2
during GIMPLE pass: slp
imapc-sync.c: In function iimapc_initial_sync_checki:
imapc-sync.c:294:1: internal compiler error: Aborted
294 | imapc_initial_sync_check(struct imapc_sync_context *ctx, bool nooped)
| ^~~~~~~~~~~~~~~~~~~~~~~~
0x1b4a3df internal_error(char const*, ...)
???:0
0x7f900f39fc pthread_kill@@GLIBC_2.34
???:0
0x7f900a419b gsignal
???:0
0x7f9008bfa7 abort
???:0
0x7f900e6943 __libc_message_impl
???:0
0x7f900fe2c7 malloc_printerr
???:0
0x7f9010053b _int_free
???:0
0x7f90102b7f __free
???:0
0xfa35d7 _slp_tree::~_slp_tree()
???:0
0xfa3aa7 vect_free_slp_instance(_slp_instance*)
???:0
0xfb9a7f vect_slp_analyze_operations(vec_info*)
???:0
0xfc06a7 vect_slp_function(function*)
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[5]: *** [Makefile:597: imapc-sync.lo] Error 1
make[5]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src/lib-storage/index/imapc'
make[4]: *** [Makefile:733: all-recursive] Error 1
make[4]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src/lib-storage/index'
make[3]: *** [Makefile:1107: all-recursive] Error 1
make[3]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src/lib-storage'
make[2]: *** [Makefile:573: all-recursive] Error 1
make[2]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src'
make[1]: *** [Makefile:704: all-recursive] Error 1
make[1]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21'
make: *** [Makefile:548: all] Error 2and on the other Pi:
Code:libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -std=gnu99 -g -O2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -fPIC -DPIC -o .libs/md5.o
corrupted double-linked list
during GIMPLE pass: slp
md5.c: In function ibodyi:
md5.c:72:1: internal compiler error: Aborted
72 | body(struct md5_context *ctx, const void *data, size_t size)
| ^~~~
0x1b4a3df internal_error(char const*, ...)
???:0
0x7f98b239fc pthread_kill@@GLIBC_2.34
???:0
0x7f98ad419b gsignal
???:0
0x7f98abbfa7 abort
???:0
0x7f98b16943 __libc_message_impl
???:0
0x7f98b2e2c7 malloc_printerr
???:0
0x7f98b2eadf unlink_chunk.isra.0
???:0
0x7f98b300f7 _int_free_merge_chunk
???:0
0x7f98b32b7f __free
???:0
0xfc935f vec_info::free_stmt_vec_infos()
???:0
0xfc93f7 vec_info::~vec_info()
???:0
0xfc06a7 vect_slp_function(function*)
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[4]: *** [Makefile:1606: md5.lo] Error 1
make[4]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src/lib'
make[3]: *** [Makefile:1263: all] Error 2
make[3]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src/lib'
make[2]: *** [Makefile:573: all-recursive] Error 1
make[2]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21/src'
make[1]: *** [Makefile:704: all-recursive] Error 1
make[1]: Leaving directory '/data/local/src/Dovecot/dovecot-2.3.21'
make: *** [Makefile:548: all] Error 2I've considered that maybe it's a disk or RAM issue on the Pi's themselves, but the SD cards seem ok but I haven't tested RAM; but I'd assume it would error-out in more random places if that were the case.
Can someone help me figure this out? I'd really appreciate it. If more output is needed, let me know and I can post it.
Thanks!