jemalloc() assumes DSS is aligned

2012-06-13 Thread John Baldwin
I tracked down a weird bug at work on the older jemalloc in FreeBSD 8/9 that a co-worker tripped over. Specifically, if you build the program below and link it with gold, the program will have an _end symbol that is on an odd address (std::nothrow results in some single-byte symbol being added

Re: jemalloc() assumes DSS is aligned

2012-06-13 Thread Jason Evans
On Jun 13, 2012, at 8:31 AM, John Baldwin wrote: I tracked down a weird bug at work on the older jemalloc in FreeBSD 8/9 that a co-worker tripped over. Specifically, if you build the program below and link it with gold, the program will have an _end symbol that is on an odd address

Re: jemalloc() assumes DSS is aligned

2012-06-13 Thread John Baldwin
On Wednesday, June 13, 2012 12:29:26 pm Jason Evans wrote: On Jun 13, 2012, at 8:31 AM, John Baldwin wrote: I tracked down a weird bug at work on the older jemalloc in FreeBSD 8/9 that a co-worker tripped over. Specifically, if you build the program below and link it with gold, the