Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927394 - dev-libs/log4cxx-1.2.0 fails to compile with sys-devel/gcc-14 (configurator.h:38:22: internal compiler error: in cxx_eval_call_expression, at constexpr.cc:3242)
Summary: dev-libs/log4cxx-1.2.0 fails to compile with sys-devel/gcc-14 (configurator.h...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2024-03-21 09:33 UTC by Agostino Sarubbo
Modified: 2024-04-14 23:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,130.82 KB, text/plain)
2024-03-21 09:33 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-21 09:33:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/log4cxx-1.2.0 fails to compile.
Discovered on: arm (internal ref: tinderbox_arm)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-21 09:33:43 UTC
CC'ing also toolchain@ because it is an ICE
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-21 09:33:45 UTC
Created attachment 888040 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2024-03-21 09:33:45 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/include/log4cxx/spi/configurator.h:38:22: internal compiler error: in cxx_eval_call_expression, at cp/constexpr.cc:3242
FAILED: src/main/cpp/CMakeFiles/log4cxx.dir/propertyconfigurator.cpp.o 
/var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/include/log4cxx/spi/configurator.h:38:22: internal compiler error: in cxx_eval_call_expression, at cp/constexpr.cc:3242
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-22 05:07:17 UTC
FAILED: src/main/cpp/CMakeFiles/log4cxx.dir/propertyconfigurator.cpp.o 
/usr/bin/armv7a-unknown-linux-gnueabihf-g++ -DFMT_SHARED -DLOG4CXX -Dlog4cxx_EXPORTS -I/var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0_build/src/main/include -I/var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/include -I/usr/include/apr-1  -O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -std=c++20 -fPIC -MD -MT src/main/cpp/CMakeFiles/log4cxx.dir/propertyconfigurator.cpp.o -MF src/main/cpp/CMakeFiles/log4cxx.dir/propertyconfigurator.cpp.o.d -o src/main/cpp/CMakeFiles/log4cxx.dir/propertyconfigurator.cpp.o -c /var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/cpp/propertyconfigurator.cpp
In file included from /var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/include/log4cxx/propertyconfigurator.h:23,
                 from /var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/cpp/propertyconfigurator.cpp:19:
/var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/include/log4cxx/spi/configurator.h: In destructor ‘virtual constexpr log4cxx::spi::Configurator::~Configurator()’:
/var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/include/log4cxx/spi/configurator.h:38:22:   in ‘constexpr’ expansion of ‘log4cxx::spi::Configurator::~Configurator()’
/var/tmp/portage/dev-libs/log4cxx-1.2.0/work/apache-log4cxx-1.2.0/src/main/include/log4cxx/spi/configurator.h:38:22: internal compiler error: in cxx_eval_call_expression, at cp/constexpr.cc:3242
   38 | class LOG4CXX_EXPORT Configurator : virtual public helpers::Object
      |                      ^~~~~~~~~~~~
0x28930b7 internal_error(char const*, ...)
	???:0
0xbee417 fancy_abort(char const*, int, char const*)
	???:0
0xca1abb maybe_constant_value(tree_node*, tree_node*, mce_value)
	???:0
0x1c11883 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*))
	???:0
0x1c11b37 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*))
	???:0
0x1c11ebf walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*))
	???:0
0xca5eb3 cp_fold_function(tree_node*)
	???:0
0xd2b503 finish_function(bool)
	???:0
0xe3ef2b maybe_clone_body(tree_node*)
	???:0
0xf88cdb expand_or_defer_fn_1(tree_node*)
	???:0
0xdda4b3 synthesize_method(tree_node*)
	???:0
0xd63443 mark_used(tree_node*, int)
	???:0
0xc0cd37 build_new_method_call(tree_node*, tree_node*, vec<tree_node*, va_gc, vl_embed>**, tree_node*, int, tree_node**, int)
	???:0
0xc0e647 build_special_member_call(tree_node*, tree_node*, vec<tree_node*, va_gc, vl_embed>**, tree_node*, int, int)
	???:0
0xd85baf emit_mem_initializers(tree_node*)
	???:0
0x10ca303 c_common_parse_file()
	???: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://bugs.gentoo.org/> for instructions.
Comment 5 Larry the Git Cow gentoo-dev 2024-04-14 23:43:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29039c6d6d56cabcdef2ecc49b502fe9706e629

commit f29039c6d6d56cabcdef2ecc49b502fe9706e629
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-04-14 23:43:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-14 23:43:21 +0000

    sys-devel/gcc: add 14.0.1_pre20240414
    
    Closes: https://bugs.gentoo.org/927394
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                      |  1 +
 sys-devel/gcc/gcc-14.0.1_pre20240414.ebuild | 66 +++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)