r53212 broke LLVM on openbsd-4.3/gcc-3.3.5, patch.

Hi,

The custom allocator-related changes committed in rev. 53212 broke
LLVM build on openbsd-4.3 with gcc-3.3.5 (i386 and amd64). The
attached patch fixes this.

This looks like an issue with gcc-3.3.5, and I'm not sure if you guys
will be wanting to support this compiler. Just sharing the patch
hoping it helps someone.

Regards,
-Mahadevan.

gcc335.patch (686 Bytes)

I was just wondering if anyone had been able to look at Mahadevan's patch?
It makes LLVM compile again on OpenBSD with gcc 3, and doesn't seem to cause
any regressions. It would definitely make some of our lives easier if this
was in SVN rather than having to be applied manually each time :slight_smile:

The custom allocator-related changes committed in rev. 53212 broke LLVM
build on openbsd-4.3 with gcc-3.3.5 (i386 and amd64). The attached patch
fixes this.

This looks like an issue with gcc-3.3.5, and I'm not sure if you guys will
be wanting to support this compiler. Just sharing the patch hoping it helps
someone.

Laurie

gcc335.patch (686 Bytes)

Hello,

I just applied (a slightly edited form of) this patch.

Dan