Re: [parisc-linux] -pie is broken on hppa
John David Anglin a écrit :
>> This is what I see when I do a gcc_update:
>> dave@mx3210:~/gnu/gcc-4.3/gcc$ contrib/gcc_update
>> Updating SVN tree
>> At revision 125275.
>> svn: Can't read directory '.': Partial results are valid but processing is incomplete
>
> I spent the day trying to debug why libjava fails to build on this system
> with the new glibc. It seems that scandir is broken on 64-bit kernels.
> There seems to be an off by one error in copying dirent structs. Either
> the define in <dirent.h> for _D_ALLOC_NAMLEN is wrong or the kernel
> sometimes returns a value for d_reclen that is sometimes too small. The
> code in fs/readdir.c suggests that sys_parisc32.c needs fixing.
>
> The enclosed seems to fix both the libjava build and the svn problem.
> Kyle's branch uses ALIGN instead of ROUND_UP.
It looks like the glibc build problem may be due to the same bug. It
builds successfully on a 32-bit kernel, but fails to build on a 64-bit
kernel due to some sources files that are skipped during the build.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
--
To UNSUBSCRIBE, email to debian-hppa-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: