Closed
Bug 520623
Opened 16 years ago
Closed 16 years ago
Building dehdyra against SpiderMonkey trunk fails
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: humph, Assigned: taras.mozilla)
References
Details
Attachments
(1 file)
|
3.59 KB,
patch
|
taras.mozilla
:
review+
|
Details | Diff | Splinter Review |
Trying to build dehydra today with SpiderMonkey fails as follows:
cc -MD -g3 -Wall -fPIC -DXP_UNIX -DIN_GCC -DHAVE_CONFIG_H -I/var/www/html/dxr/tools/gcc-dehydra/gcc-build/gcc -I/var/www/html/dxr/tools/gcc-dehydra/gcc-4.3.0/gcc -I/var/www/html/dxr/tools/gcc-dehydra/gcc-4.3.0/gcc/. -I/var/www/html/dxr/tools/gcc-dehydra/gcc-4.3.0/gcc/../include -I/var/www/html/dxr/tools/gcc-dehydra/gcc-4.3.0/gcc/../libcpp/include -I/var/www/html/dxr/tools/gcc-dehydra/gcc-4.3.0/gcc/../libdecnumber -I/var/www/html/dxr/tools/gcc-dehydra/gcc-4.3.0/gcc/../libdecnumber/bid -I/var/www/html/dxr/tools/gcc-dehydra/gcc-build/libdecnumber -I/var/www/html/dxr/tools/gcc-dehydra/gcc-build -I../../SpiderMonkey/include/js -I/var/www/html/dxr/tools/SpiderMonkey/lib -I//home/dave/local/include/js/ -c dehydra_plugin.c
In file included from ../../SpiderMonkey/include/js/jsapi.h:50,
from cp-tree-jsapi-workaround.h:6,
from gcc_cp_headers.h:26,
from dehydra_plugin.c:3:
../../SpiderMonkey/include/js/jsutil.h:186:12: error: attempt to use poisoned "malloc"
../../SpiderMonkey/include/js/jsutil.h:192:12: error: attempt to use poisoned "calloc"
../../SpiderMonkey/include/js/jsutil.h:198:12: error: attempt to use poisoned "realloc"
make: *** [dehydra_plugin.o] Error 1
ERROR - Dehydra build failed, aborting.
| Assignee | ||
Comment 1•16 years ago
|
||
Sorry about that. Update your gcc mq and qpush -a it
http://hg.mozilla.org/users/tglek_mozilla.com/gcc-moz-plugin-mq/rev/636c0157c6b3
and
http://hg.mozilla.org/rewriting-and-analysis/dehydra/rev/0ebf7084a6c4
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 2•16 years ago
|
||
Reopening: This is still a problem with gcc 4.5 which does not have your patch applied. Fixing this in dehydra seems like a better solution.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 3•16 years ago
|
||
(In reply to comment #2)
> Reopening: This is still a problem with gcc 4.5 which does not have your patch
> applied. Fixing this in dehydra seems like a better solution.
Patch would be appreciated. You are right about my patch to gcc loosing momentum. I'm not super-excited about fighting gcc's poison policies if we can fix this within dehydra.
Comment 4•16 years ago
|
||
Someone on the gcc mailing list suggested simply including jsapi before gcc headers, which seems to work for me where i have commented out / moved some includes.
I'm mainly worried about the stuff mentioned in cp-tree-jsapi-workaround.h which I am unable to test.
Will clean the patch up a bit and attach it later.
Comment 5•16 years ago
|
||
This gets dehydra compiling on gcc 4.5, treehydra still fails due to bug 510190.
I'm unable to test with apples gcc 4.2 so someone else would need to verify that.
Attachment #410949 -
Flags: review?(tglek)
| Assignee | ||
Comment 6•16 years ago
|
||
Comment on attachment 410949 [details] [diff] [review]
include reordering [pushed: comment 7]
Thanks. Lets focus on getting Dehydra going 100%, Treehydra will be easier to do later once gcc source is more or less stable
Attachment #410949 -
Flags: review?(tglek) → review+
Comment 7•16 years ago
|
||
Comment on attachment 410949 [details] [diff] [review]
include reordering [pushed: comment 7]
http://hg.mozilla.org/rewriting-and-analysis/dehydra/rev/c360b56546c8
Attachment #410949 -
Attachment description: include reordering → include reordering [pushed: comment 7]
Updated•16 years ago
|
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Firefox Build System
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•