summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-12-15 10:25:18 +0000
committerpeter <peter@FreeBSD.org>2003-12-15 10:25:18 +0000
commit58652b52677893698d3dff4274cb4ca4b558c991 (patch)
treec0ef74cde7de35737636e0f17e2307bfc04392b5 /contrib
parent1612dd69b6e82748f579e798b9a1a2348de61143 (diff)
downloadFreeBSD-src-58652b52677893698d3dff4274cb4ca4b558c991.zip
FreeBSD-src-58652b52677893698d3dff4274cb4ca4b558c991.tar.gz
amd64 doesn't define __LP64__ in the compiler, but it definately needs
this definition. It fixes gnome for starters. I haven't tried *emacs yet. Like IA64, amd64 uses registers for the first few arguments and then the stack for the rest. This means the 64 bit promotion of the NULL (0) value is lost and its just pushed on as an 'int' in a varargs call. When the consumer walks the list and expects to pull off void * pointers via va_arg, then all hell breaks loose. Marcel: thanks a million for finding this!
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud