public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/104244] New: Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM
@ 2022-01-26 15:39 mikael at logicalclocks dot com
  2022-01-26 18:49 ` [Bug c++/104244] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: mikael at logicalclocks dot com @ 2022-01-26 15:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104244

            Bug ID: 104244
           Summary: Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mikael at logicalclocks dot com
  Target Milestone: ---

Created attachment 52295
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52295&action=edit
crash info

Compiled RonDB 22.01.0 with this as last commit:

commit 7da259292bedb03ca9860c8e4fa77af2e527af6f (HEAD -> 22.01, origin/22.01)
Author: Mikael Ronstr<C3><B6>m <mikael.ronstrom@gmail.com>
Date:   Wed Jan 26 13:45:37 2022 +0100

    ndb_binlog.ndb_binlog_index hangs in debug mode

Found at github.com/mronstro/rondb in branch 22.01

Linux instance-20220126-1319 5.4.17-2102.204.4.4.el8uek.aarch64 #2 SMP Tue Aug
17 20:32:12 PDT 2021 aarch64 aarch64 aarch64 GNU/Linux

[opc@instance-20220126-1319 err_build]$ /opt/rh/gcc-toolset-10/root/bin/gcc
--version
gcc (GCC) 10.3.1 20210422 (Red Hat 10.3.1-1.2.0.1)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Compilation command:
git clone https://github.com/mronstro/rondb rondb_22010
git checkout 22.01
mkdir err_build
cd err_build
../build_scripts/build_script_err.sh

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/104244] Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM
  2022-01-26 15:39 [Bug c++/104244] New: Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM mikael at logicalclocks dot com
@ 2022-01-26 18:49 ` pinskia at gcc dot gnu.org
  2022-01-26 18:50 ` pinskia at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-26 18:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104244

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-01-26

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Can you attach the preprocessed source as requested at
https://gcc.gnu.org/bugs/ ?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/104244] Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM
  2022-01-26 15:39 [Bug c++/104244] New: Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM mikael at logicalclocks dot com
  2022-01-26 18:49 ` [Bug c++/104244] " pinskia at gcc dot gnu.org
@ 2022-01-26 18:50 ` pinskia at gcc dot gnu.org
  2022-01-26 22:34 ` mikael at logicalclocks dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-26 18:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104244

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also please read the error message too:
// *** WARNING *** there are active plugins, do not report this as a bug unless
you can reproduce it without enabling any plugins
....
// Please submit a full bug report,
// with preprocessed source if appropriate.
// See <http://bugzilla.redhat.com/bugzilla> for instructions.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/104244] Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM
  2022-01-26 15:39 [Bug c++/104244] New: Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM mikael at logicalclocks dot com
  2022-01-26 18:49 ` [Bug c++/104244] " pinskia at gcc dot gnu.org
  2022-01-26 18:50 ` pinskia at gcc dot gnu.org
@ 2022-01-26 22:34 ` mikael at logicalclocks dot com
  2022-01-26 22:38 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mikael at logicalclocks dot com @ 2022-01-26 22:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104244

--- Comment #3 from mikael at logicalclocks dot com ---
Sorry, I am not an expert in GCC lingo, so plugin in the context
of GCC I don't know what it means. MySQL have lots of plugins, but
I assume this is not what you refer to.

Unfortunately I didn't gather the preprocessed source and don't
really know how to do it either. I gathered as much as I could.

But the problem is very repeatable, so should not be very difficult
to reproduce.

I used a VM in OCI with Oracle Linux 8.5 Cloud Developer version
where I installed as directed by CMake.

It does work with GCC 10.2.1 on the same OS I can mention although
I failed in downgrading, but I had it working on a different VM
which is a bit older and still had 10.2.1 installed.

Tried compiling on Ubuntu using 20.04 in OCI which is some version
of 10.3.0. This didn't fail in the same manner, instead it failed
in a missing symbol dlopen in 2.17 (presume it is GLIBC it refers to).

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/104244] Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM
  2022-01-26 15:39 [Bug c++/104244] New: Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM mikael at logicalclocks dot com
                   ` (2 preceding siblings ...)
  2022-01-26 22:34 ` mikael at logicalclocks dot com
@ 2022-01-26 22:38 ` pinskia at gcc dot gnu.org
  2022-01-26 22:39 ` pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-26 22:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104244

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Read https://gcc.gnu.org/bugs/ .
The simple answer is add -save-temps to the comannd line which is failing and
that should give you a preprocessed source. The other option you could try is
-freport-bug and that will output a line which says please attach a file to the
bug report, that file and compress it and attach that compressed file.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/104244] Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM
  2022-01-26 15:39 [Bug c++/104244] New: Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM mikael at logicalclocks dot com
                   ` (3 preceding siblings ...)
  2022-01-26 22:38 ` pinskia at gcc dot gnu.org
@ 2022-01-26 22:39 ` pinskia at gcc dot gnu.org
  2022-01-26 22:43 ` mikael at logicalclocks dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-26 22:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104244

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also since this is a compiler provided by Oracle, you should report the failure
to them.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/104244] Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM
  2022-01-26 15:39 [Bug c++/104244] New: Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM mikael at logicalclocks dot com
                   ` (4 preceding siblings ...)
  2022-01-26 22:39 ` pinskia at gcc dot gnu.org
@ 2022-01-26 22:43 ` mikael at logicalclocks dot com
  2022-01-26 22:52 ` mikael at logicalclocks dot com
  2024-04-13  1:11 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: mikael at logicalclocks dot com @ 2022-01-26 22:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104244

--- Comment #6 from mikael at logicalclocks dot com ---
Hi,
Gather I could send the same bug info to Oracle as well.
Regarding the -save-temps to the failing command it is
a bit difficult since I simply run make which has its
make files created by CMake. I gather there is some method
to find out how to generate the actual commands, but it is
deeply hidden from normal developers these days, was easier
in the past.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/104244] Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM
  2022-01-26 15:39 [Bug c++/104244] New: Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM mikael at logicalclocks dot com
                   ` (5 preceding siblings ...)
  2022-01-26 22:43 ` mikael at logicalclocks dot com
@ 2022-01-26 22:52 ` mikael at logicalclocks dot com
  2024-04-13  1:11 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: mikael at logicalclocks dot com @ 2022-01-26 22:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104244

--- Comment #7 from mikael at logicalclocks dot com ---
Oracle Linux bug:
https://bugzilla.oracle.com/bugzilla/show_bug.cgi?id=17755

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/104244] Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM
  2022-01-26 15:39 [Bug c++/104244] New: Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM mikael at logicalclocks dot com
                   ` (6 preceding siblings ...)
  2022-01-26 22:52 ` mikael at logicalclocks dot com
@ 2024-04-13  1:11 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-13  1:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104244

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|WAITING                     |RESOLVED

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
No preprocessed source forthcoming since it has been over 2 years since asking
so closing as invalid. It is hard to reproduce not using the preprocessed
source.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-04-13  1:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 15:39 [Bug c++/104244] New: Crash compiling RonDB 22.01 on Oracle Linux 8 on ARM mikael at logicalclocks dot com
2022-01-26 18:49 ` [Bug c++/104244] " pinskia at gcc dot gnu.org
2022-01-26 18:50 ` pinskia at gcc dot gnu.org
2022-01-26 22:34 ` mikael at logicalclocks dot com
2022-01-26 22:38 ` pinskia at gcc dot gnu.org
2022-01-26 22:39 ` pinskia at gcc dot gnu.org
2022-01-26 22:43 ` mikael at logicalclocks dot com
2022-01-26 22:52 ` mikael at logicalclocks dot com
2024-04-13  1:11 ` 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).