Closed GoogleCodeExporter closed 9 years ago
Looks good. But I think you'll need to keep getdents syscall. It looks like
PPC64 doesn't have it.
Also for linux_syscall_support.h consider also posting your patch to
https://code.google.com/p/linux-syscall-support/ maintained by chromium folks.
Original comment by alkondratenko
on 8 Feb 2014 at 10:02
Correction. It looks like PPC64 does not have getdents64 but does have getdents.
Original comment by alkondratenko
on 8 Feb 2014 at 10:06
Ok, Attached updated patch #2 to keep getdents. unfortunately it makes the code
more complicated as getdents and getdents64 have different kernel structure...
Original comment by riku.voi...@linaro.org
on 10 Feb 2014 at 9:57
Attachments:
Hi this patch looks for PPC64. Although I'm still seeing failing tests, it is
the same one before and after the patch.
Original comment by zatr...@gmail.com
on 10 Feb 2014 at 4:00
zatrazz, can you please elaborate on those test failures ?
Original comment by alkondratenko
on 10 Feb 2014 at 6:22
Rebased here:
https://github.com/alk/gperftools/commits/wip-aarch64-port-from-riku-voipio
Was going to merge, but then found comment indicating that clone is taken from
glibc. That appears to be a problem given that original tcmalloc authors choose
bsd-style license and glibc is GPL.
Maybe you can reach authors of clone.S for aarch64 and have them post their
"ack" on relicensing this code ?
Original comment by alkondratenko
on 17 Feb 2014 at 4:23
perhaps yet another alternative is to just make mips port have gpl license. If
such trick is at all possible.
Original comment by alkondratenko
on 17 Feb 2014 at 4:35
Hi,
I saw the same comment was already in PPC code of linux_syscall_support.h:
#elif defined (__PPC__)
...
/* clone function adapted from glibc 2.18 clone.S */
So assumed this was already acceptable.
Original comment by riku.voi...@linaro.org
on 17 Feb 2014 at 9:12
Merged. Thanks a lot.
Original comment by alkondratenko
on 22 Feb 2014 at 7:50
Original issue reported on code.google.com by
riku.voi...@linaro.org
on 5 Feb 2014 at 3:36Attachments: