* alpha fcntl bits missing defines
@ 2011-02-23 11:52 Oliver Falk
2011-02-23 12:48 ` Oliver Falk
2011-02-23 16:57 ` Matt Turner
0 siblings, 2 replies; 11+ messages in thread
From: Oliver Falk @ 2011-02-23 11:52 UTC (permalink / raw)
To: libc-ports
Hi!
Just noticed, that [ports]/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h is
missing the following 2 defines:
--- fcntl.h.PIPE_SZ 2011-02-23 10:46:09.000000000 +0100
+++ fcntl.h 2011-02-23 10:46:11.000000000 +0100
@@ -97,6 +97,8 @@
# define F_SETLEASE 1024 /* Set a lease. */
# define F_GETLEASE 1025 /* Enquire what lease is active. */
# define F_NOTIFY 1026 /* Request notfications on a directory. */
+# define F_SETPIPE_SZ 1031 /* Set pipe page size array. */
+# define F_GETPIPE_SZ 1032 /* Set pipe page size array. */
#endif
#ifdef __USE_XOPEN2K8
# define F_DUPFD_CLOEXEC 1030 /* Duplicate file descriptor with
Would be great if one could add it.
-of
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: alpha fcntl bits missing defines
2011-02-23 11:52 alpha fcntl bits missing defines Oliver Falk
@ 2011-02-23 12:48 ` Oliver Falk
2011-02-23 13:36 ` Andreas Schwab
2011-02-23 16:57 ` Matt Turner
1 sibling, 1 reply; 11+ messages in thread
From: Oliver Falk @ 2011-02-23 12:48 UTC (permalink / raw)
To: libc-ports
Hi!
On 02/23/2011 12:52 PM, Oliver Falk wrote:
> Just noticed, that [ports]/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h is
> missing the following 2 defines:
>
> --- fcntl.h.PIPE_SZ 2011-02-23 10:46:09.000000000 +0100
> +++ fcntl.h 2011-02-23 10:46:11.000000000 +0100
> @@ -97,6 +97,8 @@
> # define F_SETLEASE 1024 /* Set a lease. */
> # define F_GETLEASE 1025 /* Enquire what lease is active. */
> # define F_NOTIFY 1026 /* Request notfications on a directory. */
> +# define F_SETPIPE_SZ 1031 /* Set pipe page size array. */
> +# define F_GETPIPE_SZ 1032 /* Set pipe page size array. */
> #endif
> #ifdef __USE_XOPEN2K8
> # define F_DUPFD_CLOEXEC 1030 /* Duplicate file descriptor with
>
> Would be great if one could add it.
And another small patch for statfs.h:
--- statfs.h.f_flags 2011-02-23 11:23:06.000000000 +0100
+++ statfs.h 2011-02-23 11:26:21.000000000 +0100
@@ -42,6 +42,7 @@
__fsid_t f_fsid;
int f_namelen;
int f_frsize;
+ int f_flags;
int f_spare[5];
};
@@ -58,6 +59,7 @@
__fsid_t f_fsid;
int f_namelen;
int f_frsize;
+ int f_flags;
int f_spare[5];
};
#endif
-of
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: alpha fcntl bits missing defines
2011-02-23 12:48 ` Oliver Falk
@ 2011-02-23 13:36 ` Andreas Schwab
2011-02-23 14:14 ` Oliver Falk
0 siblings, 1 reply; 11+ messages in thread
From: Andreas Schwab @ 2011-02-23 13:36 UTC (permalink / raw)
To: Oliver Falk; +Cc: libc-ports
Oliver Falk <oliver@linux-kernel.at> writes:
> And another small patch for statfs.h:
>
> --- statfs.h.f_flags 2011-02-23 11:23:06.000000000 +0100
> +++ statfs.h 2011-02-23 11:26:21.000000000 +0100
> @@ -42,6 +42,7 @@
> __fsid_t f_fsid;
> int f_namelen;
> int f_frsize;
> + int f_flags;
> int f_spare[5];
> };
Surely you are not proposing to break the ABI.
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: alpha fcntl bits missing defines
2011-02-23 13:36 ` Andreas Schwab
@ 2011-02-23 14:14 ` Oliver Falk
0 siblings, 0 replies; 11+ messages in thread
From: Oliver Falk @ 2011-02-23 14:14 UTC (permalink / raw)
To: Andreas Schwab; +Cc: libc-ports
On 02/23/2011 02:35 PM, Andreas Schwab wrote:
> Oliver Falk<oliver@linux-kernel.at> writes:
>
>> And another small patch for statfs.h:
>>
>> --- statfs.h.f_flags 2011-02-23 11:23:06.000000000 +0100
>> +++ statfs.h 2011-02-23 11:26:21.000000000 +0100
>> @@ -42,6 +42,7 @@
>> __fsid_t f_fsid;
>> int f_namelen;
>> int f_frsize;
>> + int f_flags;
>> int f_spare[5];
>> };
>
> Surely you are not proposing to break the ABI.
well... yes. now that you say... 8-) i just cloned what I found in the
other headers without too much thinking - shame on me.
however. we need f_flags in struct statfs...
-of
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: alpha fcntl bits missing defines
2011-02-23 11:52 alpha fcntl bits missing defines Oliver Falk
2011-02-23 12:48 ` Oliver Falk
@ 2011-02-23 16:57 ` Matt Turner
2011-02-23 18:04 ` Oliver Falk
2011-02-23 23:12 ` __atfct_seterrno problem while linking Oliver Falk
1 sibling, 2 replies; 11+ messages in thread
From: Matt Turner @ 2011-02-23 16:57 UTC (permalink / raw)
To: Oliver Falk; +Cc: libc-ports
On Wed, Feb 23, 2011 at 11:52 AM, Oliver Falk <oliver@linux-kernel.at> wrote:
> Hi!
>
> Just noticed, that [ports]/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h is
> missing the following 2 defines:
>
> --- fcntl.h.PIPE_SZ 2011-02-23 10:46:09.000000000 +0100
> +++ fcntl.h 2011-02-23 10:46:11.000000000 +0100
> @@ -97,6 +97,8 @@
> # define F_SETLEASE 1024 /* Set a lease. */
> # define F_GETLEASE 1025 /* Enquire what lease is active. */
> # define F_NOTIFY 1026 /* Request notfications on a directory. */
> +# define F_SETPIPE_SZ 1031 /* Set pipe page size array. */
> +# define F_GETPIPE_SZ 1032 /* Set pipe page size array. */
> #endif
> #ifdef __USE_XOPEN2K8
> # define F_DUPFD_CLOEXEC 1030 /* Duplicate file descriptor with
>
> Would be great if one could add it.
>
> -of
I'm curious. What program needs these defines?
More evidence that we need a common set of headers.
Matt
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: alpha fcntl bits missing defines
2011-02-23 16:57 ` Matt Turner
@ 2011-02-23 18:04 ` Oliver Falk
2011-02-23 23:12 ` __atfct_seterrno problem while linking Oliver Falk
1 sibling, 0 replies; 11+ messages in thread
From: Oliver Falk @ 2011-02-23 18:04 UTC (permalink / raw)
To: Matt Turner; +Cc: libc-ports
Hi Matt!
Am 23.02.2011 17:57, schrieb Matt Turner:
> On Wed, Feb 23, 2011 at 11:52 AM, Oliver Falk<oliver@linux-kernel.at> wrote:
>> Hi!
>>
>> Just noticed, that [ports]/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h is
>> missing the following 2 defines:
>>
>> --- fcntl.h.PIPE_SZ 2011-02-23 10:46:09.000000000 +0100
>> +++ fcntl.h 2011-02-23 10:46:11.000000000 +0100
>> @@ -97,6 +97,8 @@
>> # define F_SETLEASE 1024 /* Set a lease. */
>> # define F_GETLEASE 1025 /* Enquire what lease is active. */
>> # define F_NOTIFY 1026 /* Request notfications on a directory. */
>> +# define F_SETPIPE_SZ 1031 /* Set pipe page size array. */
>> +# define F_GETPIPE_SZ 1032 /* Set pipe page size array. */
>> #endif
>> #ifdef __USE_XOPEN2K8
>> # define F_DUPFD_CLOEXEC 1030 /* Duplicate file descriptor with
>>
>> Would be great if one could add it.
>>
>> -of
>
> I'm curious. What program needs these defines?
>
> More evidence that we need a common set of headers.
Actually glibc needs it :-)
See also ia64/bits/fcntl.h.
Actually it is used by fpathconf.c.
And... It's glibc 2.12/2.13...
-of
^ permalink raw reply [flat|nested] 11+ messages in thread
* __atfct_seterrno problem while linking
2011-02-23 16:57 ` Matt Turner
2011-02-23 18:04 ` Oliver Falk
@ 2011-02-23 23:12 ` Oliver Falk
2011-02-23 23:26 ` Matt Turner
1 sibling, 1 reply; 11+ messages in thread
From: Oliver Falk @ 2011-02-23 23:12 UTC (permalink / raw)
To: Matt Turner; +Cc: libc-ports
Hi!
Any idea why this happens? Or how I might be able to fix it?
glibc-2.13/build-alpha-linuxnptl/libc_pic.os: In function
`*__GI___fxstatat':
glibc-2.13/io/../../glibc-ports-2.12-54-gbd44238/sysdeps/unix/sysv/linux/alpha/fxstatat.c:114:
undefined reference to `__atfct_seterrno'
/usr/bin/ld: glibc-2.13/build-alpha-linuxnptl/libc.so: hidden symbol
`__atfct_seterrno' isn't defined
/usr/bin/ld: final link failed: Bad value
-of
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: __atfct_seterrno problem while linking
2011-02-23 23:12 ` __atfct_seterrno problem while linking Oliver Falk
@ 2011-02-23 23:26 ` Matt Turner
2011-02-24 10:08 ` Oliver Falk
2011-02-24 15:24 ` Oliver Falk
0 siblings, 2 replies; 11+ messages in thread
From: Matt Turner @ 2011-02-23 23:26 UTC (permalink / raw)
To: Oliver Falk; +Cc: libc-ports
On Wed, Feb 23, 2011 at 11:12 PM, Oliver Falk <oliver@linux-kernel.at> wrote:
> Hi!
>
> Any idea why this happens? Or how I might be able to fix it?
>
> glibc-2.13/build-alpha-linuxnptl/libc_pic.os: In function
> `*__GI___fxstatat':
> glibc-2.13/io/../../glibc-ports-2.12-54-gbd44238/sysdeps/unix/sysv/linux/alpha/fxstatat.c:114:
> undefined reference to `__atfct_seterrno'
> /usr/bin/ld: glibc-2.13/build-alpha-linuxnptl/libc.so: hidden symbol
> `__atfct_seterrno' isn't defined
> /usr/bin/ld: final link failed: Bad value
>
> -of
Hm, no, I've never seen that error before. Are you trying to build
glibc-2.12 or 2.13? I see both in the snippet.
Does glibc-2.12.2 + glibc-ports-2.12.2 build for you? If so, maybe
it's possible to bisect.
Matt
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: __atfct_seterrno problem while linking
2011-02-23 23:26 ` Matt Turner
@ 2011-02-24 10:08 ` Oliver Falk
2011-02-24 10:20 ` Oliver Falk
2011-02-24 15:24 ` Oliver Falk
1 sibling, 1 reply; 11+ messages in thread
From: Oliver Falk @ 2011-02-24 10:08 UTC (permalink / raw)
To: Matt Turner; +Cc: libc-ports
On 02/24/2011 12:26 AM, Matt Turner wrote:
> On Wed, Feb 23, 2011 at 11:12 PM, Oliver Falk<oliver@linux-kernel.at> wrote:
>> Hi!
>>
>> Any idea why this happens? Or how I might be able to fix it?
>>
>> glibc-2.13/build-alpha-linuxnptl/libc_pic.os: In function
>> `*__GI___fxstatat':
>> glibc-2.13/io/../../glibc-ports-2.12-54-gbd44238/sysdeps/unix/sysv/linux/alpha/fxstatat.c:114:
>> undefined reference to `__atfct_seterrno'
>> /usr/bin/ld: glibc-2.13/build-alpha-linuxnptl/libc.so: hidden symbol
>> `__atfct_seterrno' isn't defined
>> /usr/bin/ld: final link failed: Bad value
>>
>> -of
>
> Hm, no, I've never seen that error before. Are you trying to build
> glibc-2.12 or 2.13? I see both in the snippet.
It's the stuff from Fedora... I guess it's a mix (glibc 2.13 + ports
from 2.12.something) - as usual :-)
> Does glibc-2.12.2 + glibc-ports-2.12.2 build for you? If so, maybe
> it's possible to bisect.
There is no glibc-ports-2.12.2 tarball!?
-of
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: __atfct_seterrno problem while linking
2011-02-24 10:08 ` Oliver Falk
@ 2011-02-24 10:20 ` Oliver Falk
0 siblings, 0 replies; 11+ messages in thread
From: Oliver Falk @ 2011-02-24 10:20 UTC (permalink / raw)
To: Matt Turner; +Cc: libc-ports
On 02/24/2011 11:08 AM, Oliver Falk wrote:
> On 02/24/2011 12:26 AM, Matt Turner wrote:
>> On Wed, Feb 23, 2011 at 11:12 PM, Oliver Falk<oliver@linux-kernel.at>
>> wrote:
>>> Hi!
>>>
>>> Any idea why this happens? Or how I might be able to fix it?
>>>
>>> glibc-2.13/build-alpha-linuxnptl/libc_pic.os: In function
>>> `*__GI___fxstatat':
>>> glibc-2.13/io/../../glibc-ports-2.12-54-gbd44238/sysdeps/unix/sysv/linux/alpha/fxstatat.c:114:
>>>
>>> undefined reference to `__atfct_seterrno'
>>> /usr/bin/ld: glibc-2.13/build-alpha-linuxnptl/libc.so: hidden symbol
>>> `__atfct_seterrno' isn't defined
>>> /usr/bin/ld: final link failed: Bad value
>>>
>>> -of
>>
>> Hm, no, I've never seen that error before. Are you trying to build
>> glibc-2.12 or 2.13? I see both in the snippet.
>
> It's the stuff from Fedora... I guess it's a mix (glibc 2.13 + ports
> from 2.12.something) - as usual :-)
>
>> Does glibc-2.12.2 + glibc-ports-2.12.2 build for you? If so, maybe
>> it's possible to bisect.
>
> There is no glibc-ports-2.12.2 tarball!?
I found one - however, not on the official mirror.
-of
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: __atfct_seterrno problem while linking
2011-02-23 23:26 ` Matt Turner
2011-02-24 10:08 ` Oliver Falk
@ 2011-02-24 15:24 ` Oliver Falk
1 sibling, 0 replies; 11+ messages in thread
From: Oliver Falk @ 2011-02-24 15:24 UTC (permalink / raw)
To: Matt Turner; +Cc: libc-ports
Hi!
Am 24.02.2011 00:26, schrieb Matt Turner:
> On Wed, Feb 23, 2011 at 11:12 PM, Oliver Falk<oliver@linux-kernel.at> wrote:
>> Hi!
>>
>> Any idea why this happens? Or how I might be able to fix it?
[ ... ]
> Hm, no, I've never seen that error before. Are you trying to build
> glibc-2.12 or 2.13? I see both in the snippet.
>
> Does glibc-2.12.2 + glibc-ports-2.12.2 build for you? If so, maybe
> it's possible to bisect.
The same result:
/builddir/build/BUILD/y/glibc-2.12.2/build-alpha-linux/libc_pic.os: In
function `*__GI___fxstatat':
/builddir/build/BUILD/y/glibc-2.12.2/io/../../glibc-ports-2.12.2/sysdeps/unix/sysv/linux/alpha/fxstatat.c:114:
undefined reference to `__atfct_seterrno'
/usr/bin/ld:
/builddir/build/BUILD/y/glibc-2.12.2/build-alpha-linux/libc.so: hidden
symbol `__atfct_seterrno' isn't defined
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[1]: ***
[/builddir/build/BUILD/y/glibc-2.12.2/build-alpha-linux/libc.so] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/y/glibc-2.12.2'
make: *** [all] Error 2
The configure I used:
../configure \
--prefix=/usr \
--enable-add-ons=../glibc-ports-2.12.2,nptl \
--with-headers=%{_prefix}/include --enable-bind-now \
--with-tls --with-__thread --build alpha-redhat-linux \
--host alpha-redhat-linux \
--disable-profile --enable-experimental-malloc --enable-nss-crypt \
--enable-kernel=2.6.32 \
--with-headers=/usr/include
Maybe you want to give it a try with the same options!?
-of
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-02-24 15:24 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-23 11:52 alpha fcntl bits missing defines Oliver Falk
2011-02-23 12:48 ` Oliver Falk
2011-02-23 13:36 ` Andreas Schwab
2011-02-23 14:14 ` Oliver Falk
2011-02-23 16:57 ` Matt Turner
2011-02-23 18:04 ` Oliver Falk
2011-02-23 23:12 ` __atfct_seterrno problem while linking Oliver Falk
2011-02-23 23:26 ` Matt Turner
2011-02-24 10:08 ` Oliver Falk
2011-02-24 10:20 ` Oliver Falk
2011-02-24 15:24 ` Oliver Falk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).