Closed Bug 284430 Opened 20 years ago Closed 15 years ago

Cannot compile boehm code.

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: mmokrejs, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b) Gecko/20050221
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b) Gecko/20050221

gcc -o typd_mlc.o -c  -DNO_SIGNALS -DNO_EXECUTE_PERMISSION
-DALL_INTERIOR_POINTERS -DLARGE_CONFIG -DREDIRECT_MALLOC=GC_MALLOC -DTHREADS
-DGENERIC_THREADS -D_REENTRANT -DGC_DEBUG -DFIND_LEAK -DOPERATOR_NEW_ARRAY
-DSAVE_CALL_CHAIN -DUSE_PROC -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"  
-I../../dist/include/boehm -I../../dist/include
-I/scratch/mozilla/dist/include/nspr        -fPIC  -Wall -W -Wno-unused
-Wpointer-arith -Wcast-align -Wno-long-long -pedantic -O0 -ggdb -pthread -pipe 
-DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline   -include
../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/typd_mlc.pp typd_mlc.c
typd_mlc.c: In function `GC_init_explicit_typing':
typd_mlc.c:407: warning: comparison between signed and unsigned
typd_mlc.c: In function `GC_make_descriptor':
typd_mlc.c:607: warning: comparison between signed and unsigned
typd_mlc.c: In function `GC_malloc_explicitly_typed':
typd_mlc.c:647: warning: `lw' might be used uninitialized in this function
typd_mlc.c: In function `GC_malloc_explicitly_typed_ignore_off_page':
typd_mlc.c:691: warning: `lw' might be used uninitialized in this function
generic_threads.c
gcc -o generic_threads.o -c  -DNO_SIGNALS -DNO_EXECUTE_PERMISSION
-DALL_INTERIOR_POINTERS -DLARGE_CONFIG -DREDIRECT_MALLOC=GC_MALLOC -DTHREADS
-DGENERIC_THREADS -D_REENTRANT -DGC_DEBUG -DFIND_LEAK -DOPERATOR_NEW_ARRAY
-DSAVE_CALL_CHAIN -DUSE_PROC -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"  
-I../../dist/include/boehm -I../../dist/include
-I/scratch/mozilla/dist/include/nspr        -fPIC  -Wall -W -Wno-unused
-Wpointer-arith -Wcast-align -Wno-long-long -pedantic -O0 -ggdb -pthread -pipe 
-DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline   -include
../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/generic_threads.pp
generic_threads.c
generic_threads.c:62:3: warning: C++ style comments are not allowed in ISO C90
generic_threads.c:62:3: warning: (this will be reported only once per input file)
typeinfo.cpp
c++ -o typeinfo.o -c  -DNO_SIGNALS -DNO_EXECUTE_PERMISSION
-DALL_INTERIOR_POINTERS -DLARGE_CONFIG -DREDIRECT_MALLOC=GC_MALLOC -DTHREADS
-DGENERIC_THREADS -D_REENTRANT -DGC_DEBUG -DFIND_LEAK -DOPERATOR_NEW_ARRAY
-DSAVE_CALL_CHAIN -DUSE_PROC -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"  
-I../../dist/include/boehm -I../../dist/include
-I/scratch/mozilla/dist/include/nspr        -fPIC   -fno-rtti -fno-exceptions
-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -O0 -ggdb
-fshort-wchar -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g
-fno-inline   -DMOZILLA_CLIENT -include ../../mozilla-config.h
-Wp,-MD,.deps/typeinfo.pp typeinfo.cpp
typeinfo.cpp: In function `const char* getTypeName(void*)':
typeinfo.cpp:185: error: cannot use typeid with -fno-rtti
gmake[3]: *** [typeinfo.o] Error 1
gmake[3]: Leaving directory `/scratch/mozilla/gc/boehm'


Reproducible: Always
Attached file config.status
I forgot to mention, I'm using current cvs code on i686 linux.
Here is how I configured:

MOZ_DEBUG_FLAGS="-O0 -ggdb" CFLAGS="-O0 -ggdb" CXXFLAGS="-O0 -ggdb" ./configure
 --enable-debug --disable-optimize --with-gssapi=/usr/heimdal --enable-jprof
--enable-debug-modules=all --enable-debugger-info-modules
--enable-application=suite --disable-necko-disk-cache --enable-wrap-malloc
--enable-detect-webshell-leaks --enable-boehm --enable-svg
--enable-svg-renderer-libart --enable-image-decoders=all --disable-composer
--enable-pango --with-qtdir=/usr/qt/3 --with-ft-prefix=/usr
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
If you're using boehm you must also --enable-rtti
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Please improve the ./configure --help output to state clearly that when --enable-boehm is used on has to enable --enable-rtti as well. I would believe configure should die if only --enable-boehm is set and not together with the other.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Mass reassign of open bugs for chase@mozilla.org to build@mozilla-org.bugs.
Assignee: chase → build
Mass re-assign of bugs that aren't on the build team radar, so bugs assigned to build@mozilla-org.bugs reflects reality.

If there is a bug you really think we need to be looking at, please *email* build@mozilla.org with a bug number and explanation.
Assignee: build → nobody
As Benjamin Smedberg pointed out the --enable-rtti has to use in conjuction with --enable-boehm and this is the task for configure, right?
s/has to use/has to be used/
Severity: normal → trivial
QA Contact: build-config
boehm has been removed from the mozilla codebase
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago15 years ago
Resolution: --- → INCOMPLETE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: