Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538396 - =sys-libs/uclibc-0.9.33.2-r13: fails to build on x86
Summary: =sys-libs/uclibc-0.9.33.2-r13: fails to build on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-01 03:00 UTC by Anthony Basile
Modified: 2015-02-01 16:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Basile gentoo-dev 2015-02-01 03:00:46 UTC
The build fails with

libc/sysdeps/linux/common/fallocate64.c: In function '__libc_fallocate64':
libc/sysdeps/linux/common/fallocate64.c:29:1: error: memory input 7 is not directly addressable
Makerules:359: recipe for target 'libc/sysdeps/linux/common/fallocate64.os' failed

because i386/bits/syscall.h has

#define ASMFMT_6(arg1, arg2, arg3, arg4, arg5, arg6) \
 , "a" (arg1), "c" (arg2), "d" (arg3), "S" (arg4), "D" (arg5), "m" (arg6)

with "m" in arg6 --- use memory.  This is fixed by 576983880a0ab5d27a4f530d2cef36239b617e78 which switches to "g". I'll backport to PATCH_VER="16".

This bug is here to document why I'm dropping ~x86 from uclibc-0.9.33.2-r13.


Reproducible: Always
Comment 1 Anthony Basile gentoo-dev 2015-02-01 04:13:04 UTC
(In reply to Anthony Basile from comment #0)
> This bug is here to document why I'm dropping ~x86 from uclibc-0.9.33.2-r13.

I've also added uclibc-0.9.33.2-r14 with a patch for this fix.
Comment 2 Anthony Basile gentoo-dev 2015-02-01 16:06:02 UTC
Its fixed in the tree.  Reopen if there's a problem.  I'm shooting for uclibc-0.9.33.2-r14 to stabilize on amd64, arm, ppc and x86 to get past bug #516988.