[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m68k breakage
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: Re: m68k breakage
- From: Peter Valchev <pvalchev_(_at_)_sightly_(_dot_)_net>
- Date: Sun, 17 Aug 2003 01:40:44 -0600
- Mail-followup-to: ports_(_at_)_openbsd_(_dot_)_org
> glib2 can't get sizeof(pthread_t)
> gpgme can't get sizeof(unsigned int) ??! (test prog. coredumps?!)
..
FYI, all of these are related to this problem:
(i've notified the appropriate people a while ago)
a.c:
#include <stdio.h>
#include <pthread.h>
#include <sys/types.h>
main() {
FILE *f=fopen("foo", "w");
if (!f)
exit(1);
fprintf(f, "%d\n", sizeof(short));
exit(0);
}
(mvme68k tmp 33)$ cc a.c -o a
(mvme68k tmp 34)$ ./a
(mvme68k tmp 35)$ cat foo
2
(mvme68k tmp 36)$ cc a.c -o a -pthread
(mvme68k tmp 37)$ ./a
Memory fault (core dumped)
Visit your host, monkey.org