Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864717 - sys-devel/gcc-11.3.0 - /.../mount.h: error: redefinition of struct mount_attr
Summary: sys-devel/gcc-11.3.0 - /.../mount.h: error: redefinition of struct mount_attr
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard: fixed in stable
Keywords:
Depends on:
Blocks: glibc-2.36 863941
  Show dependency tree
 
Reported: 2022-08-09 20:34 UTC by Toralf Förster
Modified: 2023-01-23 02:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.62 KB, text/plain)
2022-08-09 20:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,54.94 KB, text/plain)
2022-08-09 20:34 UTC, Toralf Förster
Details
environment (environment,138.18 KB, text/plain)
2022-08-09 20:34 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.39 KB, application/x-bzip)
2022-08-09 20:34 UTC, Toralf Förster
Details
gcc-build-logs.tar.bz2 (gcc-build-logs.tar.bz2,481.17 KB, application/x-bzip)
2022-08-09 20:34 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,185.30 KB, application/x-bzip)
2022-08-09 20:34 UTC, Toralf Förster
Details
sys-devel:gcc-11.3.0:20220809-192400.log.bz2 (sys-devel:gcc-11.3.0:20220809-192400.log.bz2,289.82 KB, application/x-bzip)
2022-08-09 20:34 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,321.29 KB, application/x-bzip)
2022-08-09 20:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-08-09 20:34:44 UTC
  189 | enum fsconfig_command
      |      ^~~~~~~~~~~~~~~~
In file included from /usr/include/linux/fs.h:19,
                 from /var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:75:
/usr/include/linux/mount.h:129:8: error: redefinition of struct mount_attr
  129 | struct mount_attr {
      |        ^~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20220809-100028

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli:
  [1]   php7.4 *
  [2]   php8.0

  HEAD of ::gentoo
commit bef357cf28055321c5ed5f112e85cad493fabc35
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 9 18:46:52 2022 +0000

    2022-08-09 18:46:52 UTC

emerge -qpvO sys-devel/gcc
[ebuild   R   ] sys-devel/gcc-12.1.1_p20220806  USE="(cxx) fortran (multilib) nls nptl openmp (pie) sanitize ssp (-ada) (-cet) (-custom-cflags) -d -debug -doc (-fixed-point) -go -graphite (-hardened) -jit (-libssp) -lto -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test (-valgrind) -vanilla -vtv -zstd"
Comment 1 Toralf Förster gentoo-dev 2022-08-09 20:34:45 UTC
Created attachment 799027 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-09 20:34:46 UTC
Created attachment 799029 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-08-09 20:34:48 UTC
Created attachment 799031 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-09 20:34:49 UTC
Created attachment 799033 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-09 20:34:50 UTC
Created attachment 799035 [details]
gcc-build-logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-09 20:34:52 UTC
Created attachment 799037 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-08-09 20:34:53 UTC
Created attachment 799039 [details]
sys-devel:gcc-11.3.0:20220809-192400.log.bz2
Comment 8 Toralf Förster gentoo-dev 2022-08-09 20:34:55 UTC
Created attachment 799041 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-08-19 18:05:29 UTC
The bug has been closed via the following commit(s):

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

commit 42d84bf32472b4cc0d16e81e4ef62e3d3f2fd3a9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-19 17:57:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-19 18:05:18 +0000

    sys-devel/gcc: add glibc 2.36 patch for 11.3.0, 10.4.0
    
    Tried adding to gcc-patches (and indeed did) [0] but got into
    a mess and it's not worth the hassle for now.
    
    [0] https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=97ae6391c543891918047f724b0bddecc5f834bc
    Closes: https://bugs.gentoo.org/864717
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/files/gcc-10.4.0-glibc-2.36.patch | 39 +++++++++++++++++++++++
 sys-devel/gcc/files/gcc-11.3.0-glibc-2.36.patch | 41 +++++++++++++++++++++++++
 sys-devel/gcc/gcc-10.4.0.ebuild                 |  2 ++
 sys-devel/gcc/gcc-11.3.0.ebuild                 |  1 +
 4 files changed, 83 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-08-22 01:41:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=5c3e52c3e7da07ee3ca18cb60f1e597a2cc0bf6f

commit 5c3e52c3e7da07ee3ca18cb60f1e597a2cc0bf6f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-22 01:29:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-22 01:41:31 +0000

    11.3.0: add another bug ref to glibc 2.36 patch
    
    Bug: https://bugs.gentoo.org/864717
    Signed-off-by: Sam James <sam@gentoo.org>

 11.3.0/gentoo/77_all_glibc_236.patch | 1 +
 1 file changed, 1 insertion(+)

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=f53592f738b4807ef29bc08e316445bc26dee055

commit f53592f738b4807ef29bc08e316445bc26dee055
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-22 01:22:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-22 01:41:31 +0000

    10.4.0: add glibc-2.36 patches
    
    Bug: https://bugs.gentoo.org/865879
    Bug: https://bugs.gentoo.org/864717
    Signed-off-by: Sam James <sam@gentoo.org>

 10.4.0/gentoo/75_all_glibc_236.patch | 68 ++++++++++++++++++++++++++++++++++++
 10.4.0/gentoo/README.history         |  5 ++-
 2 files changed, 72 insertions(+), 1 deletion(-)
Comment 11 Larry the Git Cow gentoo-dev 2022-10-01 04:24:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=6fb906ef2da01327d64cea263887ef34c97c1bbf

commit 6fb906ef2da01327d64cea263887ef34c97c1bbf
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-09-18 07:15:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-30 00:13:22 +0000

    10.3.0: backport glibc 2.36, gettext/msgfmt patch from 10.4.0
    
    Bug: https://bugs.gentoo.org/295480
    Bug: https://bugs.gentoo.org/372377
    Bug: https://bugs.gentoo.org/843119
    Bug: https://bugs.gentoo.org/864717
    Bug: https://bugs.gentoo.org/865879
    Closes: https://github.com/gentoo/gcc-patches/pull/2
    Signed-off-by: Sam James <sam@gentoo.org>

 10.3.0/gentoo/36_all_msgfmt-libstdc++-link.patch | 39 ++++++++++++++
 10.3.0/gentoo/37_all_glibc_236.patch             | 68 ++++++++++++++++++++++++
 10.3.0/gentoo/README.history                     |  4 ++
 3 files changed, 111 insertions(+)