[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #23 from Martin Liška --- (In reply to Tomasz Kłoczko from comment #21) > On emore time. > You are commenting under GNU C Compilet issue during linking firebird > binaries linking. > *COMPILER* (not firebird) is core dumping. I see

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-05 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #22 from Sam James --- (In reply to Tomasz Kłoczko from comment #21) > On emore time. > You are commenting under GNU C Compilet issue during linking firebird > binaries linking. > *COMPILER* (not firebird) is core dumping. > > Pleas

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-05 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #21 from Tomasz Kłoczko --- On emore time. You are commenting under GNU C Compilet issue during linking firebird binaries linking. *COMPILER* (not firebird) is core dumping. Please discuss firebird issue opening ticket on https://gi

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 Martin Liška changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-03 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 Sam James changed: What|Removed |Added CC||sam at gentoo dot org --- Comment #19 from

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #18 from Martin Liška --- > This issue is about compiler issue on linking firebird binary linked with > LTO. Good, so it's isql command that crashes: make gpre make[2]: Entering directory '/tmp/firebird-4.0.2/gen' rm -f metadata.fd

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-02 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #17 from Tomasz Kłoczko --- > /tmp/firebird-4.0.2/gen/Release/firebird/bin/isql -q -i > /tmp/firebird-4.0.2/src/dbs/metadata.sql > can't format message 17:0 -- message file /usr/local/firebird/firebird.msg > not found > Unable to com

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #16 from Martin Liška --- (In reply to Tomasz Kłoczko from comment #15) > (In reply to Martin Liška from comment #14) > > Can you please provide the exact steps on how to configure the project with > > the corresponding options and r

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-02 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #15 from Tomasz Kłoczko --- (In reply to Martin Liška from comment #14) > Can you please provide the exact steps on how to configure the project with > the corresponding options and run the crashing command? I would like to > attach

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-12-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 Martin Liška changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #14 from Martin Lišk

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-11-01 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #12 from Tomasz Kłoczko --- Any update?🤔

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-09-29 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #11 from Tomasz Kłoczko --- Tested -O2 + LTO + -flifetime-dse=1 and it crashes.

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-09-29 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #10 from Tomasz Kłoczko --- Tested -O2 + LTO + -flifetime-dse=1 and it crashes.

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-09-29 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #9 from Tomasz Kłoczko --- (In reply to Jakub Jelinek from comment #7) > Then as documented, -fno-lifetime-dse or -flifetime-dse=1 can be a temporary > workaround, but as has been said, such code is undefined behavior and should > be

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-09-29 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #8 from Tomasz Kłoczko --- (In reply to Andrew Pinski from comment #6) [..] > Then almost certainly -fno-lifetime-dse will help. Tested -O2 + LTO + -fno-lifetime-dse and it crashes.

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-09-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #7 from Jakub Jelinek --- Then as documented, -fno-lifetime-dse or -flifetime-dse=1 can be a temporary workaround, but as has been said, such code is undefined behavior and should be fixed in the application. See https://gcc.gnu.org/

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-09-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #6 from Andrew Pinski --- (In reply to Tomasz Kłoczko from comment #5) > FWD of the firebird developer from > https://github.com/FirebirdSQL/firebird/issues/7308#issuecomment-1262043660 > > "Firebird (that code left from interbase t

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-09-29 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #5 from Tomasz Kłoczko --- FWD of the firebird developer from https://github.com/FirebirdSQL/firebird/issues/7308#issuecomment-1262043660 "Firebird (that code left from interbase times) traditionally zeroes memory when allocating a

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-09-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-09-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #3 from Richard Biener --- IIRC there are also unfixed devirt issues (and some not backported yet?)

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-09-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 --- Comment #2 from Andrew Pinski --- (In reply to Tomasz Kłoczko from comment #0) > I found that fedora spec file has disabled LTO as well with comment > > # firebird is mis-compiled when LTO is enabled. A root > # cause analysis has not yet b

[Bug lto/107078] LTO is causing that firebird build is core dumping

2022-09-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107078 Andrew Pinski changed: What|Removed |Added Version|unknown |12.2.1 --- Comment #1 from Andrew Pinsk