Closed ramosian-glider closed 9 years ago
Have you tried building Firefox with the ToT Clang without ASan (i.e. remove the -faddress-sanitizer
from the compiler and linker flags)?
Looking at the log I suppose that these errors are specific to the Clang version you
are using.
Reported by ramosian.glider
on 2012-08-01 12:11:00
That seems to work, it passed the location where the error occurred before. Thanks!
Reported by cdiehl.4
on 2012-08-01 12:19:17
If that is working, then the error must be ASan specific. Unfortunately I don't have
any system yet to reproduce that. Maybe you could also attach the regular output during
the failing compile run? (the config.log is quite confusing to me as there's so much
additional info in there)
Reported by decoder.oh
on 2012-08-01 12:25:08
So am I right that you are able to build Firefox using trunk Clang without ASan, but
the configuration phase fails with ASan?
Which of the compilation failures in the log are critical for the configuration? Is
it possible to reproduce them apart of the Firefox compilation?
Reported by ramosian.glider
on 2012-08-01 12:26:03
.mozconfig: http://cdiehl.pastebin.mozilla.org/1729401
Yes, I am able to compile Firefox with trunk Clang. I have attached the normal build
log too.
Reported by cdiehl.4
on 2012-08-01 12:34:43
A compact version of the above output: http://cdiehl.pastebin.mozilla.org/1727772
Reported by cdiehl.4
on 2012-08-01 12:39:03
Looks like the problem is mach_override not working on some OS X library. I am checking
what the missing instructions are.
Reported by rafael.espindola
on 2012-08-01 14:45:04
I have just sent a pull request upstream fixing it:
https://github.com/rentzsch/mach_star/pulls
Reported by rafael.espindola
on 2012-08-01 15:36:15
We're using a fork of mach_override which is very much different from Jonathan's code
now (for example we're dealing with the allocateBranchIsland speed issue). I'll commit
your change into LLVM.
Reported by ramosian.glider
on 2012-08-01 15:52:05
Rafael, I've committed your patch (Clang r161116), but some ASan tests still fail on
10.8. Taking a look.
Reported by ramosian.glider
on 2012-08-01 16:37:28
Looks like the only two failing tests rely on an incorrect assumption about strcpy/strncpy
behavior (see issue 96), so basic ASan functionality should work on Mountain Lion as
of r161116.
@cdiehl.4: can you please verify this?
Reported by ramosian.glider
on 2012-08-01 16:58:45
Started
Works again, thanks!
Reported by cdiehl.4
on 2012-08-01 17:52:46
Reported by ramosian.glider
on 2012-08-02 07:55:33
Fixed
Adding Project:AddressSanitizer as part of GitHub migration.
Reported by ramosian.glider
on 2015-07-30 09:12:59
Originally reported on Google Code with ID 95
Reported by
cdiehl.4
on 2012-08-01 12:06:00