On Wednesday 04 August 2010 15:14:53 Ken Moffat wrote:
> I'm seeing the following in m4 (in chapter 5 - I'm also trying
> glibc-2.12.1) path.c:118:7: warning: implicit declaration of function
> 'fstat'
> path.c:118:7: warning: implicit declaration of function 'S_ISDIR'
> ...
> path.o: In function `m4_fopen':
> path.c:(.text+0x3a): undefined reference to `S_ISDIR'

This is fixed upstream:
http://git.savannah.gnu.org/cgit/m4.git/commit/?h=branch-1.4&id=1359a849055a66eddffe7753485e0f29fb85ef31

>  I would have thought that gcc-4.5 or gcc-4.5.1 were the likely cause,
> but since nobodyelse has reported it, perhaps it's a glibc-2.12 issue ?
> 
> NB I'm also using --enable-kernel=2.6.33 for glibc.
> 
>  Normally, I would just commit this to patches once I was sure the
> build works, but I'm still trying Andy's suggestions for glibc so I'm
> some hours away from doing that!

The git/patch explains everything. It's a posix issue with Glibc. The patch 
you posted earlier adds two headers that may not be needed.

At the same time I looked at the git logs for the m4-1.4 branch, and I didn't 
see anything else that would affect us, such as compiler or security fixes.

robert

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to