Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899772 - dev-db/mariadb-10.6.12 has implicit function declarations in configure logs (GCC-13-SYSTEM)
Summary: dev-db/mariadb-10.6.12 has implicit function declarations in configure logs (...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-03-06 09:28 UTC by Agostino Sarubbo
Modified: 2023-04-14 05:23 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,55.59 KB, application/x-xz)
2023-03-06 09:28 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 2023-03-06 09:28:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-db/mariadb-10.6.12 has implicit function declarations in configure logs (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

NOTE:
(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
See also: https://bugs.gentoo.org/898488#c4.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-06 09:28:08 UTC
Created attachment 856252 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Adrien Dessemond 2023-04-04 12:21:31 UTC
I can see it (and several others) also but at the end MariaDB can be compiled and installed. Seems more a "minor" QA issue that has to fixed upstream than a real blocker.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-14 03:47:36 UTC
(In reply to Adrien Dessemond from comment #2)
> I can see it (and several others) also but at the end MariaDB can be
> compiled and installed. Seems more a "minor" QA issue that has to fixed
> upstream than a real blocker.

They're not minor - see https://wiki.gentoo.org/wiki/Project:Toolchain/Modern_C_porting. They can result in miscompilations with compilers that reject them entirely (as it'll change the result), like Clang 16, and GCC 14 (not 13).
Comment 4 Larry the Git Cow gentoo-dev 2023-04-14 04:00:56 UTC
The bug has been referenced in the following commit(s):

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

commit e7366c7358e43e26c1558324b252620c4cdc0dfb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-14 03:55:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-14 03:59:57 +0000

    dev-db/mariadb: fix configure w/ clang 16
    
    Bug: https://bugs.gentoo.org/899772
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/mariadb-10.6.11-configure-clang16.patch  | 26 ++++++++++++++++++++++
 ...10.6.11-r3.ebuild => mariadb-10.6.11-r4.ebuild} |  7 ++++++
 dev-db/mariadb/mariadb-10.6.12-r1.ebuild           |  7 ++++++
 3 files changed, 40 insertions(+)