public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/110306] New: ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_));
@ 2023-06-19 6:48 vital.had at gmail dot com
2023-06-19 6:50 ` [Bug target/110306] " vital.had at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: vital.had at gmail dot com @ 2023-06-19 6:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110306
Bug ID: 110306
Summary: ICE when building ccache for powepc-apple-darwin:
Logging.hpp: internal compiler error: Bus error:
Logging::log(std::string_view(message_));
Product: gcc
Version: 12.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: vital.had at gmail dot com
CC: iains at gcc dot gnu.org
Target Milestone: ---
:info:build [ 46%] Building CXX object
src/CMakeFiles/ccache_framework.dir/storage/local/LocalStorage.cpp.o
:info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build/src
&& /opt/local/bin/g++-mp-12 -DHAVE_REDIS_STORAGE_BACKEND
-DXXH_STATIC_LINKING_ONLY
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.8.2/src
-isystem /opt/local/include -pipe -Os -DNDEBUG
-isystem/opt/local/include/LegacySupport -I/opt/local/include
-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 -arch ppc -mmacosx-version-min=10.6
-include
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/build/config.h
-Wall -D_FILE_OFFSET_BITS=64 -MD -MT
src/CMakeFiles/ccache_framework.dir/storage/local/LocalStorage.cpp.o -MF
CMakeFiles/ccache_framework.dir/storage/local/LocalStorage.cpp.o.d -o
CMakeFiles/ccache_framework.dir/storage/local/LocalStorage.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.8.2/src/storage/local/LocalStorage.cpp
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.8.2/src/storage/local/LocalStorage.cpp:25:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.8.2/src/storage/local/LocalStorage.cpp:
In instantiation of
'storage::local::LocalStorage::recompress(std::optional<signed char>, uint32_t,
const storage::local::ProgressReceiver&)::<lambda(const auto:39&, const
auto:40&)> [with auto:39 = unsigned char; auto:40 =
std::function<void(double)>]':
:info:build /opt/local/include/gcc12/c++/type_traits:2559:26: required by
substitution of 'template<class _Fn, class ... _Args> static
std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)),
std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn =
storage::local::LocalStorage::recompress(std::optional<signed char>, uint32_t,
const storage::local::ProgressReceiver&)::<lambda(const auto:39&, const
auto:40&)>&; _Args = {unsigned char, const std::function<void(double)>&}]'
:info:build /opt/local/include/gcc12/c++/type_traits:2570:55: required from
'struct std::__result_of_impl<false, false,
storage::local::LocalStorage::recompress(std::optional<signed char>, uint32_t,
const storage::local::ProgressReceiver&)::<lambda(const auto:39&, const
auto:40&)>&, unsigned char, const std::function<void(double)>&>'
:info:build /opt/local/include/gcc12/c++/bits/std_function.h:348:9:
recursively required by substitution of 'template<class _Result, class _Ret>
struct std::__is_invocable_impl<_Result, _Ret, true, std::__void_t<typename
_CTp::type> > [with _Result =
std::__invoke_result<storage::local::LocalStorage::recompress(std::optional<signed
char>, uint32_t, const storage::local::ProgressReceiver&)::<lambda(const
auto:39&, const auto:40&)>&, unsigned char, const
std::function<void(double)>&>; _Ret = void]'
:info:build /opt/local/include/gcc12/c++/bits/std_function.h:348:9: required
from 'struct std::function<void(unsigned char, const
std::function<void(double)>&)>::_Callable<storage::local::LocalStorage::recompress(std::optional<signed
char>, uint32_t, const storage::local::ProgressReceiver&)::<lambda(const
auto:39&, const auto:40&)>,
storage::local::LocalStorage::recompress(std::optional<signed char>, uint32_t,
const storage::local::ProgressReceiver&)::<lambda(const auto:39&, const
auto:40&)>,
std::__invoke_result<storage::local::LocalStorage::recompress(std::optional<signed
char>, uint32_t, const storage::local::ProgressReceiver&)::<lambda(const
auto:39&, const auto:40&)>&, unsigned char, const std::function<void(double)>&>
>'
:info:build /opt/local/include/gcc12/c++/bits/std_function.h:353:8: required
by substitution of 'template<class _Res, class ... _ArgTypes> template<class
_Cond, class _Tp> using _Requires = std::__enable_if_t<_Cond::value, _Tp> [with
_Cond = std::function<void(unsigned char, const
std::function<void(double)>&)>::_Callable<storage::local::LocalStorage::recompress(std::optional<signed
char>, uint32_t, const storage::local::ProgressReceiver&)::<lambda(const
auto:39&, const auto:40&)>,
storage::local::LocalStorage::recompress(std::optional<signed char>, uint32_t,
const storage::local::ProgressReceiver&)::<lambda(const auto:39&, const
auto:40&)>,
std::__invoke_result<storage::local::LocalStorage::recompress(std::optional<signed
char>, uint32_t, const storage::local::ProgressReceiver&)::<lambda(const
auto:39&, const auto:40&)>&, unsigned char, const std::function<void(double)>&>
>; _Tp = void; _Res = void; _ArgTypes = {unsigned char, const
std::function<void(double)>&}]'
:info:build /opt/local/include/gcc12/c++/bits/std_function.h:434:9: required
by substitution of 'template<class _Functor, class _Constraints>
std::function<void(unsigned char, const
std::function<void(double)>&)>::function(_Functor&&) [with _Functor =
storage::local::LocalStorage::recompress(std::optional<signed char>, uint32_t,
const storage::local::ProgressReceiver&)::<lambda(const auto:39&, const
auto:40&)>; _Constraints = <missing>]'
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.8.2/src/storage/local/LocalStorage.cpp:701:24:
required from here
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.8.2/src/Logging.hpp:33:7:
internal compiler error: Bus error
:info:build 33 | Logging::log(std::string_view(message_));
\
:info:build | ^~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.8.2/src/Logging.hpp:39:27:
note: in expansion of macro 'LOG_RAW'
:info:build 39 | #define LOG(format_, ...)
LOG_RAW(fmt::format(FMT_STRING(format_), __VA_ARGS__))
:info:build | ^~~~~~~
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.8.2/src/storage/local/LocalStorage.cpp:710:13:
note: in expansion of macro 'LOG'
:info:build 710 | LOG("Failed to acquire content lock for {}/{}",
l1_index, l2_index);
:info:build | ^~~
:info:build Please submit a full bug report, with preprocessed source (by using
-freport-bug).
:info:build See <https://trac.macports.org/newticket> for instructions.
:info:build make[2]: ***
[src/CMakeFiles/ccache_framework.dir/storage/local/LocalStorage.cpp.o] Error 1
Does not occur for me with 12.2.0 and earlier.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/110306] ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_));
2023-06-19 6:48 [Bug target/110306] New: ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_)); vital.had at gmail dot com
@ 2023-06-19 6:50 ` vital.had at gmail dot com
2023-06-19 8:08 ` [Bug target/110306] [12/13/14 Regression] " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: vital.had at gmail dot com @ 2023-06-19 6:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110306
--- Comment #1 from Sergey Fedorov <vital.had at gmail dot com> ---
Created attachment 55361
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55361&action=edit
Preprocessed source file
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/110306] [12/13/14 Regression] ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_));
2023-06-19 6:48 [Bug target/110306] New: ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_)); vital.had at gmail dot com
2023-06-19 6:50 ` [Bug target/110306] " vital.had at gmail dot com
@ 2023-06-19 8:08 ` rguenth at gcc dot gnu.org
2023-06-19 12:42 ` pinskia at gcc dot gnu.org
2023-06-19 12:43 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-06-19 8:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110306
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |12.3.0
Known to work| |12.2.0
Target| |powepc-apple-darwin
Summary|ICE when building ccache |[12/13/14 Regression] ICE
|for powepc-apple-darwin: |when building ccache for
|Logging.hpp: internal |powepc-apple-darwin:
|compiler error: Bus error: |Logging.hpp: internal
|Logging::log(std::string_vi |compiler error: Bus error:
|ew(message_)); |Logging::log(std::string_vi
| |ew(message_));
Target Milestone|--- |12.4
Keywords| |needs-bisection,
| |needs-reduction
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/110306] [12/13/14 Regression] ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_));
2023-06-19 6:48 [Bug target/110306] New: ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_)); vital.had at gmail dot com
2023-06-19 6:50 ` [Bug target/110306] " vital.had at gmail dot com
2023-06-19 8:08 ` [Bug target/110306] [12/13/14 Regression] " rguenth at gcc dot gnu.org
@ 2023-06-19 12:42 ` pinskia at gcc dot gnu.org
2023-06-19 12:43 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-19 12:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110306
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 109241.
*** This bug has been marked as a duplicate of bug 109241 ***
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/110306] [12/13/14 Regression] ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_));
2023-06-19 6:48 [Bug target/110306] New: ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_)); vital.had at gmail dot com
` (2 preceding siblings ...)
2023-06-19 12:42 ` pinskia at gcc dot gnu.org
@ 2023-06-19 12:43 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-06-19 12:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110306
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> Dup of bug 109241.
>
> *** This bug has been marked as a duplicate of bug 109241 ***
I should say this is an exact dup of bug 109850 (but that was marked as a dup
of bug 109241).
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-06-19 12:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-19 6:48 [Bug target/110306] New: ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_)); vital.had at gmail dot com
2023-06-19 6:50 ` [Bug target/110306] " vital.had at gmail dot com
2023-06-19 8:08 ` [Bug target/110306] [12/13/14 Regression] " rguenth at gcc dot gnu.org
2023-06-19 12:42 ` pinskia at gcc dot gnu.org
2023-06-19 12:43 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).