Re: [lfs-dev] #3172: Glibc bug

2012-08-27 Thread Bruce Dubbs
Ken Moffat wrote: > On Mon, Aug 27, 2012 at 05:43:21PM -0500, Bruce Dubbs wrote: >> >> Reading the Fedora messages was interesting. I went ahead and added the >> patch. Looking at the book's change log, we've made 5 changes since >> -rc1. The most significant were today with changes in glibc, bu

Re: [lfs-dev] #3172: Glibc bug

2012-08-27 Thread Bruce Dubbs
Armin K. wrote: > Hey, thank you for adding the patch. I was unable to reproduce it with > anything. It just happened twice with glibc 2.16.0 ... I used 2.14.1 for > some months and it never happened there. I still don't know what causes > it, but it's fine to have a fix! From what I read, it is

Re: [lfs-dev] #3172: Glibc bug

2012-08-27 Thread Ken Moffat
On Mon, Aug 27, 2012 at 05:43:21PM -0500, Bruce Dubbs wrote: > > Reading the Fedora messages was interesting. I went ahead and added the > patch. Looking at the book's change log, we've made 5 changes since > -rc1. The most significant were today with changes in glibc, but > standing back an

Re: [lfs-dev] #3172: Glibc bug

2012-08-27 Thread Armin K.
On 08/28/2012 12:43 AM, Bruce Dubbs wrote: > Ken Moffat wrote: >> The problem seems to be tricky to hit, I was going to say I didn't >> think we should carry it. But fedora are using it: >> http://pkgs.fedoraproject.org/cgit/glibc.git/plain/glibc-rh730856.patch?h=f18 >> (dates in the patch are fro

Re: [lfs-dev] #3172: Glibc bug

2012-08-27 Thread Bruce Dubbs
Ken Moffat wrote: > On Mon, Aug 27, 2012 at 02:13:12PM -0500, Bruce Dubbs wrote: >> Moving to -dev. >> >> I don't know what I did before, but it does apply for me now. The issue >> here is whether we should add it to Chapter 6 right now. According the >> the copyright notices, it hasn't changed s

Re: [lfs-dev] #3172: Glibc bug

2012-08-27 Thread Bruce Dubbs
Ken Moffat wrote: > On Mon, Aug 27, 2012 at 02:13:12PM -0500, Bruce Dubbs wrote: >> Moving to -dev. >> >>> Comment(by ken@…): >>> >>>Replying to [comment:5 bdubbs@…]: >>>> Replying to [comment:4 ken@…]: >>>> > The arch patch *does* apply to 2.16.0 for me. >> >> I don't know what I did b

Re: [lfs-dev] #3172: Glibc bug

2012-08-27 Thread Ken Moffat
On Mon, Aug 27, 2012 at 02:13:12PM -0500, Bruce Dubbs wrote: > Moving to -dev. > > > Comment(by ken@…): > > > > Replying to [comment:5 bdubbs@…]: > > > Replying to [comment:4 ken@…]: > > > > The arch patch *does* apply to 2.16.0 for me. > > I don't know what I did before, but it does apply

Re: [lfs-dev] r9963 6.9. Glibc-2.16.0 build error

2012-08-27 Thread Bruce Dubbs
xinglp wrote: > 2012/8/28 xinglp : >> 2012/8/28 Bruce Dubbs : >>> sed -i -e 's||"rpc/types.h"|' sunrpc/rpc_clntout.c >> I'm tring this one > This one got through. Yes, I just reverted that from the change I made this morning. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev F

Re: [lfs-dev] r9963 6.9. Glibc-2.16.0 build error

2012-08-27 Thread xinglp
2012/8/28 xinglp : > 2012/8/28 Bruce Dubbs : >> xinglp wrote: >> >>> rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory >>> compilation terminated. >> >> What happens if you do this first after changing to glibc-2.16.0: >> >> mkdir -p /usr/include/rpc >> cp -v sunrpc/rpc/*.h /

Re: [lfs-dev] r9963 6.9. Glibc-2.16.0 build error

2012-08-27 Thread xinglp
2012/8/28 Bruce Dubbs : > xinglp wrote: > >> rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory >> compilation terminated. > > What happens if you do this first after changing to glibc-2.16.0: > > mkdir -p /usr/include/rpc > cp -v sunrpc/rpc/*.h /usr/include/rpc Same error. >

Re: [lfs-dev] r9963 6.9. Glibc-2.16.0 build error

2012-08-27 Thread Bruce Dubbs
xinglp wrote: > rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory > compilation terminated. What happens if you do this first after changing to glibc-2.16.0: mkdir -p /usr/include/rpc cp -v sunrpc/rpc/*.h /usr/include/rpc Alternatively sed -i -e 's||"rpc/types.h"|' sunrp

[lfs-dev] r9963 6.9. Glibc-2.16.0 build error

2012-08-27 Thread xinglp
gcc -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build -include /sources/glibc-build/config.h rpc_main.c \ -o /sources/glibc-build/sunrpc/cross-rpc_main.o -MMD -MP -MF /sources/glibc-build/sunrpc/cross-rpc_main.o.dt -MT /sources/glibc-build/sunrpc/cross-rpc_main.o -c gcc -D_RPC_THREAD_SAFE

[lfs-dev] #3172: Glibc bug

2012-08-27 Thread Bruce Dubbs
Moving to -dev. > Comment(by ken@…): > > Replying to [comment:5 bdubbs@…]: > > Replying to [comment:4 ken@…]: > > > The arch patch *does* apply to 2.16.0 for me. I don't know what I did before, but it does apply for me now. The issue here is whether we should add it to Chapter 6 right now

Re: [lfs-dev] glibc and rpc headers

2012-08-27 Thread Bruce Dubbs
Ken Moffat wrote: > On Mon, Aug 27, 2012 at 09:48:41AM -0500, Bruce Dubbs wrote: > >> >> I think we have corner case here. The only system that is a problem is >> 7.1 without libtirpc being installed (or someone who didn't follow the >> book). Now that I think of it, we could add to the host syst

Re: [lfs-dev] glibc and rpc headers

2012-08-27 Thread Ken Moffat
On Mon, Aug 27, 2012 at 09:48:41AM -0500, Bruce Dubbs wrote: > > I think we have corner case here. The only system that is a problem is > 7.1 without libtirpc being installed (or someone who didn't follow the > book). Now that I think of it, we could add to the host system > requirements a c

Re: [lfs-dev] glibc and rpc headers

2012-08-27 Thread Bruce Dubbs
Ken Moffat wrote: > On Sun, Aug 26, 2012 at 09:30:56PM -0500, Bruce Dubbs wrote: >> Starting a new thread. >> > [...] >> >> I'm starting to think that the problem is that we've built Chapter 6 >> glibc in 7.2 without the --enable-obsolete-rpc which would probably >> solve the problem there. For a