Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829583 - sys-libs/glibc-2.34-r3 fails to build with CPPFLAGS="-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
Summary: sys-libs/glibc-2.34-r3 fails to build with CPPFLAGS="-D_FILE_OFFSET_BITS=64 -...
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-18 21:33 UTC by Mike Gilbert
Modified: 2021-12-18 21:58 UTC (History)
1 user (show)

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


Attachments
Build log (sys-libs:glibc-2.34-r3:20211218-191759.log.gz,32.46 KB, application/gzip)
2021-12-18 21:36 UTC, Mike Gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2021-12-18 21:33:41 UTC
Just doing some initial testing to see what happens if I set CPPFLAGS="-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64" globally.

{standard input}: Assembler messages:
{standard input}:330: Error: symbol `__sigtimedwait64' is already defined
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.34-r3/work/build-x86-i686-pc-linux-gnu-nptl/sysd-rules:213: /var/tmp/portage/sys-libs/glibc-2.34-r3/work/build-x86-i686-pc-linux-gnu-nptl/signal/sigtimedwait.o] Error 1
Comment 1 Mike Gilbert gentoo-dev 2021-12-18 21:36:16 UTC
Created attachment 759631 [details]
Build log
Comment 2 Larry the Git Cow gentoo-dev 2021-12-18 21:51:05 UTC
The bug has been closed via the following commit(s):

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

commit a11dd6729862d5ded07a7956fb6c553cd415c542
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-12-18 21:50:18 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-12-18 21:50:54 +0000

    sys-libs/glibc: Filter LFS and TIME64 defines
    
    Closes: https://bugs.gentoo.org/829583
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-libs/glibc/glibc-2.34-r4.ebuild | 4 ++++
 sys-libs/glibc/glibc-9999.ebuild    | 4 ++++
 2 files changed, 8 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2021-12-18 21:58:26 UTC
The bug has been referenced in the following commit(s):

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

commit 062a9fcfe09a224f74aed0d86598a4da9bfefc95
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-18 21:58:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-18 21:58:02 +0000

    sys-libs/glibc: filter-lfs-flags now does TIME_BITS too
    
    toolchain-funcs.eclass patch was just pushed.
    
    Bug: https://bugs.gentoo.org/829583
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/glibc/glibc-2.34-r4.ebuild | 1 -
 sys-libs/glibc/glibc-9999.ebuild    | 1 -
 2 files changed, 2 deletions(-)