-native self compile problems
Matthew Fluet
fluet@CS.Cornell.EDU
Thu, 30 Nov 2000 14:44:58 -0500 (EST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---559023410-824023566-975613498=:20165
Content-Type: TEXT/PLAIN; charset=US-ASCII
> I found and fixed the bug with voids. It was a bug that I had just introduced
> with some changes that I made. The native self compile I ran last night almost
> succeeded. It failed during linking with
> undefined reference to `overflowCheckTemp'
> I guess this means I have a slightly out of date x86codegen.h. Anyways, I added
> the obvious fix for this problem and just started a new run. Matthew, could you
> send me your latest x86codegen.h so I can do a diff.
Here's my version of x86codegen.h. I actually didn't have
overflowCheckTemp in there, but I independently got that error just
recently. It's due to a weird combination of copy propagation and
floating point.
---559023410-824023566-975613498=:20165
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="x86codegen.h"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.SOL.3.95.1001130144457.20165D@hoho.cs.cornell.edu>
Content-Description:
I2lmbmRlZiBfWDg2Q09ERUdFTl9IXw0KI2RlZmluZSBfWDg2Q09ERUdFTl9IXw0KDQojZGVmaW5l
IEdsb2JhbHMoYywgZCwgaSwgcCwgdSwgbnIpCQkJCSAgICAgICAJXA0KCXdvcmQgcmFUZW1wOwkJ
CQkJCQlcDQoJc3RydWN0IEdDX3N0YXRlIGdjU3RhdGU7CQkJCSAgICAgICAJXA0KCXdvcmQgY19z
dGFja1A7CQkJCQkJCVwNCgl3b3JkIG92ZXJmbG93Q2hlY2tUZW1wOwkJCQkJCVwNCgl3b3JkIGxp
bWl0Q2hlY2tUZW1wOwkJCQkJCVwNCgl3b3JkIGFycmF5QWxsb2NhdGVUZW1wOwkJCQkJCVwNCgl3
b3JkIGFycmF5QWxsb2NhdGVMb29wVGVtcDsgICAgCQkJCQlcDQoJd29yZCBpbnRJbmZUZW1wOwkJ
CQkJCVwNCgl3b3JkIHRocmVhZFRlbXA7CQkJCQkJXA0KCXd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