On Thu, 3 Jun 2010, Andreas Schwab wrote: > Wouter Verhelst <wou...@debian.org> writes: > > > Does anyone know what the status of this support is in libc? > > It is basically working quite well. Unfortunately there is a big > problem which becomes apparent when running the libstdc++ testsuite: the > m68k compiler only guarantees a maximum alignment of 2 bytes, but the > futex syscall requires 4 byte alignment. So if your pthread mutex is > not aligned on a 4 byte boundary this will result in passing an > unaligned address to futex. I haven't yet decided on what would be the > best way to fix that.
Better to adopt the 4 byte alignment rather than relax the requirement? Or are you concerned about memory wasted on padding? Can the tradeoffs be quantified? Finn > > Andreas. > > -- To UNSUBSCRIBE, email to debian-68k-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.osx.2.00.1006041333080....@localhost