Closed Bug 644890 Opened 13 years ago Closed 13 years ago

"Argument list too long" when building libXUL

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 644081

People

(Reporter: paul.biggar, Unassigned)

Details

Error below. I can work around this by adding --verbose to expandlibs_exec, and then rewriting the output to use relative paths rather than absolute ones. Is that something which will work generally? If so, I can write a patch.




/usr/bin/make export
/Users/pbiggar/work/mozilla/jemalloc_on_mac/obj-x86_64-apple-darwin10.7.0-dbg/config/nsinstall -L /Users/pbiggar/work/mozilla/jemalloc_on_mac/obj-x86_64-apple-darwin10.7.0-dbg/toolkit/library ../../../rdf/util/src/nsRDFResource.cpp ../../../intl/unicharutil/util/nsUnicharUtils.cpp ../../../intl/unicharutil/util/nsBidiUtils.cpp .
/usr/bin/make libs
rm -f XUL
/usr/local/Cellar/python/2.7/bin/python2.7 ../../../config/pythonpath.py -I../../config ../../../config/expandlibs_exec.py --uselist --  ccache g++  -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -fno-strict-aliasing -fpascal-strings -fno-common -fshort-wchar -pthread -DNO_X11 -pipe  -DDEBUG -D_DEBUG -DTRACING -g -fPIC  -o XUL  nsStaticXULComponents.o nsUnicharUtils.o nsBidiUtils.o nsRDFResource.o     -framework Cocoa -lobjc  -framework ExceptionHandling -Wl,-executable_path,/Users/pbiggar/work/mozilla/jemalloc_on_mac/obj-x86_64-apple-darwin10.7.0-dbg/dist/bin ../../toolkit/xre/libxulapp_s.a  ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a ../../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a ../../staticlib/components/libjar50.a ../../staticlib/components/libstartupcache.a ../../staticlib/components/libpref.a ../../staticlib/components/libhtmlpars.a ../../staticlib/components/libimglib2.a ../../staticlib/components/libgklayout.a ../../staticlib/components/libdocshell.a ../../staticlib/components/libembedcomponents.a ../../staticlib/components/libwebbrwsr.a ../../staticlib/components/libnsappshell.a ../../staticlib/components/libtxmgr.a ../../staticlib/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ../../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a ../../staticlib/components/libappcomps.a ../../staticlib/components/libjetpack_s.a ../../staticlib/components/libjsctypes.a ../../staticlib/components/libjsperf.a ../../staticlib/components/libgkplugin.a ../../staticlib/components/libosxproxy.a ../../staticlib/components/libjsd.a ../../staticlib/components/libautoconfig.a ../../staticlib/components/libauth.a ../../staticlib/components/libcookie.a ../../staticlib/components/libpermissions.a ../../staticlib/components/libuniversalchardet.a ../../staticlib/components/libcomposer.a ../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a ../../staticlib/components/libstoragecomps.a ../../staticlib/components/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a ../../staticlib/components/libimgicon.a ../../staticlib/components/libgkgfxthebes.a ../../staticlib/components/libwidget_mac.a ../../staticlib/components/libspellchecker.a ../../staticlib/components/libzipwriter.a ../../staticlib/components/libservices-crypto.a ../../staticlib/components/libgkdebug.a ../../staticlib/libjsipc_s.a ../../staticlib/libdomipc_s.a ../../staticlib/libdomplugins_s.a ../../staticlib/libmozipc_s.a ../../staticlib/libmozipdlgen_s.a ../../staticlib/libipcshell_s.a ../../staticlib/libgfxipc_s.a ../../staticlib/libxpcom_core.a ../../staticlib/libucvutil_s.a ../../staticlib/libgkgfx.a ../../staticlib/libchromium_s.a ../../staticlib/libmozreg_s.a ../../staticlib/libmorkreader_s.a ../../staticlib/libthebes.a ../../staticlib/libycbcr.a ../../staticlib/libangle.a  ../../dist/lib/libmozsqlite3.a -L../../dist/bin -L../../dist/lib ../../jpeg/libmozjpeg.a ../../modules/libimg/png/libmozpng.a ../../gfx/qcms/libmozqcms.a /Users/pbiggar/work/mozilla/jemalloc_on_mac/obj-x86_64-apple-darwin10.7.0-dbg/dist/lib/libjs_static.a -L../../dist/bin -L../../dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3 ../../gfx/cairo/cairo/src/libmozcairo.a  ../../gfx/cairo/libpixman/src/libmozlibpixman.a ../../gfx/harfbuzz/src/libmozharfbuzz.a ../../gfx/ots/src/libmozots.a   ../../modules/zlib/src/libmozz.a -L../../dist/bin -L../../dist/lib  -L/Users/pbiggar/work/mozilla/jemalloc_on_mac/obj-x86_64-apple-darwin10.7.0-dbg/dist/lib -lplds4 -lplc4 -lnspr4 ../../dist/lib/libmozalloc.a -framework Carbon -framework CoreAudio -framework AudioToolbox -framework AudioUnit  -dynamiclib -install_name @executable_path/XUL -compatibility_version 1 -current_version 1 -single_module -L../../dist/lib -ljemalloc  -framework OpenGL -lcups -framework SystemConfiguration -framework QuickTime -framework IOKit -lcrypto -framework QuartzCore -framework Carbon -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework AddressBook -framework OpenGL     
i686-apple-darwin10-g++-4.2.1: error trying to exec '/usr/libexec/gcc/i686-apple-darwin10/4.2.1/collect2': execv: Argument list too long
make[1]: *** [XUL] Error 1
make: *** [default] Error 2
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.