Closed Bug 243233 Opened 20 years ago Closed 19 years ago

mozilla 1.7 trunk build fails on x86-64

Categories

(Core :: XPCOM, defect)

1.7 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 239763

People

(Reporter: spamtrap7918991, Assigned: dbradley)

References

Details

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

gmake -f client.mk
[...]
gmake[4]: Leaving directory `/home/goemon/mozilla/xpcom/glue'
gmake[4]: Entering directory `/home/goemon/mozilla/xpcom/base'
/home/goemon/mozilla/config/nsinstall -R -m 644 nsAgg.h nsAutoPtr.h nsCom.h
nsComObsolete.h nsDebugImpl.h nsIAllocator.h nsIID.h nsISupportsObsolete.h
nsTraceRefcntImpl.h nsWeakPtr.h ../../dist/include/xpcom
/usr/bin/perl -I../../config ../../config/build-list.pl
../../dist/include/xpcom/.headerlist nsAgg.h nsAutoPtr.h nsCom.h nsComObsolete.h
nsDebugImpl.h nsIAllocator.h nsIID.h nsISupportsObsolete.h nsTraceRefcntImpl.h
nsWeakPtr.h
/home/goemon/mozilla/config/nsinstall -R -m 644 nsError.h nsID.h
nsISupportsBase.h nscore.h ../../dist/include/xpcom
/usr/bin/perl -I../../config ../../config/build-list.pl
../../dist/include/xpcom/.headerlist nsError.h nsID.h nsISupportsBase.h nscore.h
/home/goemon/mozilla/config/nsinstall -R -m 644 nsError.h nsID.h
nsISupportsBase.h nscore.h ../../dist/sdk/include
/home/goemon/mozilla/config/nsinstall -R -m 644 nsIConsoleListener.idl
nsIConsoleMessage.idl nsIConsoleService.idl nsIErrorService.idl nsIException.idl
nsIExceptionService.idl ../../dist/idl
nsIConsoleListener.idl
../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o
_xpidlgen/nsIConsoleListener nsIConsoleListener.idl

GLib-ERROR **: could not reallocate 34359738368 bytes
aborting...
gmake[4]: *** [_xpidlgen/nsIConsoleListener.h] Aborted
gmake[4]: Leaving directory `/home/goemon/mozilla/xpcom/base'
gmake[3]: *** [export] Error 2
gmake[3]: Leaving directory `/home/goemon/mozilla/xpcom'
gmake[2]: *** [export] Error 2
gmake[2]: Leaving directory `/home/goemon/mozilla'
gmake[1]: *** [alldep] Error 2
gmake[1]: Leaving directory `/home/goemon/mozilla'
gmake: *** [alldep] Error 2


Reproducible: Always
Steps to Reproduce:
1.download latest nightly source
2.gmake -f client.mk
3.curse at build error :-(

Actual Results:  
GLib-ERROR **: could not reallocate 34359738368 bytes

Expected Results:  
Working mozilla :-(

I can provide ssh access to anyone willing to fix this.

Server is opteron running fedora core2 test3 latest updates in x64-64 native
mode. Everything is 100% current.
cls,  and thoughts on what is needed to get this working?
Blocks: 237202
no idea.

as i stated in the bugreport, ssh access is open to anyone who wants to stab at
this bug. all you have to do is say 'yes'.
Looks like a dupe of bug 239763.  At a glance, it looks like a 64bit glib1 bug
but someone will have to build a debug version of glib and verify this.
Product: Browser → Seamonkey
Hello I get the same errors too.
Glenn

a). Had to set LIBIDL_CONFIG=/opt/gnome/bin/libIDL-config-2
b). All 64 bit compiler tools from Suse 9.2 dvd
c). Note 34,359,738,368 bits = 4GB according to
http://www.terabyte.net/philosophy.htm
d). I saw that magic number (34359738368) listed elsewhere
Steps to Reproduce:
e.) Use Mozilla latest nightly tarball
f.) gmake -f client.mk build
..
..
..
..

** Last few lines of the compile



gmake[4]: Leaving directory `/root/mozilla/mozilla/objdir/xpcom/glue'
gmake[4]: Entering directory `/root/mozilla/mozilla/objdir/xpcom/base'
Creating .deps
/root/mozilla/mozilla/objdir/config/nsinstall -R -m 644
/root/mozilla/mozilla/xpcom/base/nsAgg.h /root/mozilla/mozilla/xpcom/base/nsAut
oPtr.h /root/mozilla/mozilla/xpcom/base/nsCom.h
/root/mozilla/mozilla/xpcom/base/nsDebugImpl.h
/root/mozilla/mozilla/xpcom/base/nsIAllo
cator.h /root/mozilla/mozilla/xpcom/base/nsIID.h
/root/mozilla/mozilla/xpcom/base/nsISupportsObsolete.h
/root/mozilla/mozilla/xpcom/bas
e/nsTraceRefcntImpl.h /root/mozilla/mozilla/xpcom/base/nsWeakPtr.h
/root/mozilla/mozilla/xpcom/base/nsInterfaceRequestorAgg.h ../../dis
t/include/xpcom
/usr/bin/perl -I/root/mozilla/mozilla/config
/root/mozilla/mozilla/config/build-list.pl ../../dist/include/xpcom/.headerlist
nsAgg.hnsA
utoPtr.h nsCom.h nsDebugImpl.h nsIAllocator.h nsIID.h nsISupportsObsolete.h
nsTraceRefcntImpl.h nsWeakPtr.h nsInterfaceRequestorAgg.h
/root/mozilla/mozilla/objdir/config/nsinstall -R -m 644
/root/mozilla/mozilla/xpcom/base/nsError.h /root/mozilla/mozilla/xpcom/base/nsI
D.h /root/mozilla/mozilla/xpcom/base/nsISupportsBase.h
/root/mozilla/mozilla/xpcom/base/nscore.h ../../dist/include/xpcom
/usr/bin/perl -I/root/mozilla/mozilla/config
/root/mozilla/mozilla/config/build-list.pl ../../dist/include/xpcom/.headerlist
nsError.hn
sID.h nsISupportsBase.h nscore.h
/root/mozilla/mozilla/objdir/config/nsinstall -R -m 644
/root/mozilla/mozilla/xpcom/base/nsError.h /root/mozilla/mozilla/xpcom/base/nsI
D.h /root/mozilla/mozilla/xpcom/base/nsISupportsBase.h
/root/mozilla/mozilla/xpcom/base/nscore.h ../../dist/sdk/include
Creating ../../dist/idl
/root/mozilla/mozilla/objdir/config/nsinstall -R -m 644
/root/mozilla/mozilla/xpcom/base/nsIConsoleListener.idl /root/mozilla/mozilla/x
pcom/base/nsIConsoleMessage.idl
/root/mozilla/mozilla/xpcom/base/nsIConsoleService.idl
/root/mozilla/mozilla/xpcom/base/nsIErrorService
.idl /root/mozilla/mozilla/xpcom/base/nsIException.idl
/root/mozilla/mozilla/xpcom/base/nsIExceptionService.idl ../../dist/idl
Creating _xpidlgen/.done
nsIConsoleListener.idl
../../dist/bin/xpidl -m header -w -I/root/mozilla/mozilla/xpcom/base
-I../../dist/idl -o _xpidlgen/nsIConsoleListener
/root/mozilla/mozilla/xpcom/base/nsIConsoleListener.idl

GLib-ERROR **: could not reallocate 34359738368 bytes
aborting...
gmake[4]: *** [_xpidlgen/nsIConsoleListener.h] Aborted
gmake[4]: Leaving directory `/root/mozilla/mozilla/objdir/xpcom/base'
gmake[3]: *** [export] Error 2
gmake[3]: Leaving directory `/root/mozilla/mozilla/objdir/xpcom'
gmake[2]: *** [tier_2] Error 2
gmake[2]: Leaving directory `/root/mozilla/mozilla/objdir'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory `/root/mozilla/mozilla/objdir'
gmake: *** [build] Error 2
Assignee: general → dbradley
Component: General → xpidl
Product: Mozilla Application Suite → Core
QA Contact: general → pschwartau
Version: Trunk → 1.7 Branch
This is a dupe as cls mentioned.

If this is still a problem, please report it to your distro vendor so they can
push an updated glib that has the fix (which conceivably exists since other
people have compiled on amd64 just fine)

*** This bug has been marked as a duplicate of 239763 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Component: xpidl → XPCOM
QA Contact: pschwartau → xpcom
You need to log in before you can comment on or make changes to this bug.