Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917662 - dev-db/firebird-3.0.10.33601.0-r1: Segmentation fault
Summary: dev-db/firebird-3.0.10.33601.0-r1: Segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2023-11-21 09:04 UTC by Andrew Ammerlaan
Modified: 2024-04-27 01:11 UTC (History)
0 users

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


Attachments
build log (build.log,429.17 KB, text/plain)
2023-11-21 09:04 UTC, Andrew Ammerlaan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Ammerlaan gentoo-dev 2023-11-21 09:04:18 UTC
Created attachment 875269 [details]
build log

This is a rebuild triggered by the upgrade to icu-74.1:

In function ‘process_packet’:
lto1: note: destination object is likely at address zero
In member function ‘exchangeAdd’,
inlined from ‘operator--’ at /tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/src/include/../common/classes/fb_atomic.h:626:21,
inlined from ‘__dt_base ’ at /tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/src/remote/server/server.cpp:4341:3,
inlined from ‘process_packet’ at /tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/src/remote/server/server.cpp:4661:1:
/tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/src/include/../common/classes/fb_atomic.h:363:44: warning: ‘__sync_fetch_and_add_8’ writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
In function ‘process_packet’:
lto1: note: destination object is likely at address zero
make[3]: Leaving directory '/tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/gen'
make gpre
make[3]: Entering directory '/tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/gen'
rm -f metadata.fdb
/tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/gen/Release/firebird/bin/isql -q -i /tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/src/dbs/metadata.sql
rm -f msg.fdb
echo create database \'msg.fdb\'\; | /tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/gen/Release/firebird/bin/isql
/tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/gen/Release/firebird/bin/gbak -MODE read_only -replace /tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/builds/misc/help.gbak help.fdb
Use CONNECT or CREATE DATABASE to specify a database
rm -f security.fdb
make[3]: *** [Makefile:367: metadata.fdb] Segmentation fault
make[3]: *** Deleting file 'metadata.fdb'
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:396: msg.timestamp] Error 139
make[3]: *** [Makefile:377: help.fdb] Segmentation fault
make[3]: *** Deleting file 'help.fdb'
make[3]: Leaving directory '/tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/gen'
make[2]: *** [Makefile:197: master_process] Error 2
make[2]: Leaving directory '/tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/gen'
make[1]: *** [Makefile:66: firebird] Error 2
make[1]: Leaving directory '/tmp/portage/dev-db/firebird-3.0.10.33601.0-r1/work/Firebird-3.0.10.33601-0/gen'
make: *** [Makefile:6: firebird] Error 2
Comment 1 Larry the Git Cow gentoo-dev 2024-04-27 01:11:29 UTC
The bug has been closed via the following commit(s):

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

commit 87c7b4704b5a0e5dd7f02b0d21f59fdf3ef1999b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-04-27 01:09:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-27 01:09:59 +0000

    dev-db/firebird: filter LTO, no SA, no lifetime DSE
    
    Bug: https://gcc.gnu.org/PR107078
    Bug: https://github.com/FirebirdSQL/firebird/issues/5384
    Bug: https://github.com/FirebirdSQL/firebird/issues/7308
    Closes: https://bugs.gentoo.org/917662
    Closes: https://bugs.gentoo.org/924659
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/firebird/firebird-3.0.10.33601.0-r1.ebuild | 8 ++++++--
 dev-db/firebird/firebird-3.0.4.33054.0-r2.ebuild  | 6 +++++-
 2 files changed, 11 insertions(+), 3 deletions(-)