Error compiling xulrunner

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error compiling xulrunner

neel5481
Hi All,

I am using Xulrunner source code 25.0 and we are getting the below error.
We are using below configuration in .mozconfig file.

mk_add_options MOZ_CO_PROJECT=xulrunner
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-xul-lin-dbg
mk_add_options MOZ_MAKE_FLAGS="-s -j4"


ac_add_options --disable-tests
ac_add_options --enable-logging
ac_add_options --enable-debug
ac_add_options --disable-optimize
ac_add_options --disable-crashreporter
ac_add_options --disable-installer
ac_add_options --enable-application=xulrunner
ac_add_options --enable-jemalloc
ac_add_options --with-java-bin-path=/usr/lib/jvm/java-7-openjdk-i386/bin


/home/Project/install/mozilla-release/obj-xul-lin-dbg/toolkit/library/tmpz0x_dB.list:
    INPUT("nsUnicharUtils.o")
    INPUT("nsBidiUtils.o")
    INPUT("nsSpecialCasingData.o")
    INPUT("nsUnicodeProperties.o")
    INPUT("nsRDFResource.o")
    INPUT("nsStaticXULComponents.o")
    INPUT("../../media/kiss_fft/kiss_fft.o")
    INPUT("../../media/kiss_fft/kiss_fftr.o")
    INPUT("../xre/nsNativeAppSupportUnix.o")
    INPUT("../xre/nsX11ErrorHandler.o")
    INPUT("../xre/CreateAppData.o")
    INPUT("../xre/ProfileReset.o")
    INPUT("../xre/nsAppRunner.o")
    INPUT("../xre/nsConsoleWriter.o")
    INPUT("../xre/nsEmbedFunctions.o")
    INPUT("../xre/nsNativeAppSupportBase.o")
    INPUT("../xre/nsSigHandlers.o")
    INPUT("../xre/nsXREDirProvider.o")
    INPUT("../xre/glxtest.o")
    INPUT("../xre/EventTracer.o")
    INPUT("../xre/nsUpdateDriver.o")
    INPUT("../profile/nsProfileLock.o")
    INPUT("../profile/nsToolkitProfileService.o")
    INPUT("../mozapps/update/common/readstrings.o")
    INPUT("../mozapps/update/common/updatelogging.o")
    INPUT("../../widget/xremoteclient/XRemoteClient.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/string_lib.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/util_ios_queue.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/util_parse.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/util_string.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_string.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/model.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/reset_api.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/sip_platform_task.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/dns_utils.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_errno.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_init.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_ipc.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_socket.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_stdio.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_string.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_threads.o")
    INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_timers_using_select.o")

collect2: error: ld terminated with signal 9 [Killed]
make[5]: *** [libxul.so] Error 1
make[5]: Leaving directory `/home/Project/install/mozilla-release/obj-xul-lin-dbg/toolkit/library'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/home/Project/install/mozilla-release/obj-xul-lin-dbg'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/home/Project/install/mozilla-release/obj-xul-lin-dbg'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/Project/install/mozilla-release/obj-xul-lin-dbg'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/home/Project/install/mozilla-release'
make: *** [build] Error 2


Any Idea to resolve this ?

Thanks in Advance
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling xulrunner

xunxun

On Fri, Dec 13, 2013 at 7:42 PM, <[hidden email]> wrote:
ld terminated with signal 9

What is your compiler toolchain? x86 or x64?
Try to use x64 toolchain or x64 cross to x86 toolchain.

--
Best Regards,
xunxun

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling xulrunner

neel5481
In reply to this post by neel5481
Hi xunxun,

Thanks for the reply.

I am using ubuntu 12.04 - 32 bit and gcc version 4.7.
I am using x86  toolchain.

Thanks in Advance.

On Friday, December 13, 2013 5:12:09 PM UTC+5:30, [hidden email] wrote:

> Hi All,
>
>
>
> I am using Xulrunner source code 25.0 and we are getting the below error.
>
> We are using below configuration in .mozconfig file.
>
>
>
> mk_add_options MOZ_CO_PROJECT=xulrunner
>
> mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-xul-lin-dbg
>
> mk_add_options MOZ_MAKE_FLAGS="-s -j4"
>
>
>
>
>
> ac_add_options --disable-tests
>
> ac_add_options --enable-logging
>
> ac_add_options --enable-debug
>
> ac_add_options --disable-optimize
>
> ac_add_options --disable-crashreporter
>
> ac_add_options --disable-installer
>
> ac_add_options --enable-application=xulrunner
>
> ac_add_options --enable-jemalloc
>
> ac_add_options --with-java-bin-path=/usr/lib/jvm/java-7-openjdk-i386/bin
>
>
>
>
>
> /home/Project/install/mozilla-release/obj-xul-lin-dbg/toolkit/library/tmpz0x_dB.list:
>
>     INPUT("nsUnicharUtils.o")
>
>     INPUT("nsBidiUtils.o")
>
>     INPUT("nsSpecialCasingData.o")
>
>     INPUT("nsUnicodeProperties.o")
>
>     INPUT("nsRDFResource.o")
>
>     INPUT("nsStaticXULComponents.o")
>
>     INPUT("../../media/kiss_fft/kiss_fft.o")
>
>     INPUT("../../media/kiss_fft/kiss_fftr.o")
>
>     INPUT("../xre/nsNativeAppSupportUnix.o")
>
>     INPUT("../xre/nsX11ErrorHandler.o")
>
>     INPUT("../xre/CreateAppData.o")
>
>     INPUT("../xre/ProfileReset.o")
>
>     INPUT("../xre/nsAppRunner.o")
>
>     INPUT("../xre/nsConsoleWriter.o")
>
>     INPUT("../xre/nsEmbedFunctions.o")
>
>     INPUT("../xre/nsNativeAppSupportBase.o")
>
>     INPUT("../xre/nsSigHandlers.o")
>
>     INPUT("../xre/nsXREDirProvider.o")
>
>     INPUT("../xre/glxtest.o")
>
>     INPUT("../xre/EventTracer.o")
>
>     INPUT("../xre/nsUpdateDriver.o")
>
>     INPUT("../profile/nsProfileLock.o")
>
>     INPUT("../profile/nsToolkitProfileService.o")
>
>     INPUT("../mozapps/update/common/readstrings.o")
>
>     INPUT("../mozapps/update/common/updatelogging.o")
>
>     INPUT("../../widget/xremoteclient/XRemoteClient.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/string_lib.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/util_ios_queue.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/util_parse.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/util_string.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_string.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/model.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/reset_api.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/sip_platform_task.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/dns_utils.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_errno.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_init.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_ipc.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_socket.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_stdio.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_string.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_threads.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_timers_using_select.o")
>
>
>
> collect2: error: ld terminated with signal 9 [Killed]
>
> make[5]: *** [libxul.so] Error 1
>
> make[5]: Leaving directory `/home/Project/install/mozilla-release/obj-xul-lin-dbg/toolkit/library'
>
> make[4]: *** [libs_tier_platform] Error 2
>
> make[4]: Leaving directory `/home/Project/install/mozilla-release/obj-xul-lin-dbg'
>
> make[3]: *** [tier_platform] Error 2
>
> make[3]: Leaving directory `/home/Project/install/mozilla-release/obj-xul-lin-dbg'
>
> make[2]: *** [default] Error 2
>
> make[2]: Leaving directory `/home/Project/install/mozilla-release/obj-xul-lin-dbg'
>
> make[1]: *** [realbuild] Error 2
>
> make[1]: Leaving directory `/home/Project/install/mozilla-release'
>
> make: *** [build] Error 2
>
>
>
>
>
> Any Idea to resolve this ?
>
>
>
> Thanks in Advance
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling xulrunner

neel5481
In reply to this post by neel5481
Hi xunxun,

Thanks for your idea.

I have resolve the issue what you have suggested.

It is the issue with linker so in 32 bit machine linker is getting failed to allocated the memory more then 3GB so i have compiled in 64 bit machine with library of 64 bit and it is working fine.

Now how can i compile 32-bit in 64-bit machine? what is the .mozconfig file changes ?

Thanks in Advance.

On Friday, December 13, 2013 5:12:09 PM UTC+5:30, [hidden email] wrote:

> Hi All,
>
>
>
> I am using Xulrunner source code 25.0 and we are getting the below error.
>
> We are using below configuration in .mozconfig file.
>
>
>
> mk_add_options MOZ_CO_PROJECT=xulrunner
>
> mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-xul-lin-dbg
>
> mk_add_options MOZ_MAKE_FLAGS="-s -j4"
>
>
>
>
>
> ac_add_options --disable-tests
>
> ac_add_options --enable-logging
>
> ac_add_options --enable-debug
>
> ac_add_options --disable-optimize
>
> ac_add_options --disable-crashreporter
>
> ac_add_options --disable-installer
>
> ac_add_options --enable-application=xulrunner
>
> ac_add_options --enable-jemalloc
>
> ac_add_options --with-java-bin-path=/usr/lib/jvm/java-7-openjdk-i386/bin
>
>
>
>
>
> /home/Project/install/mozilla-release/obj-xul-lin-dbg/toolkit/library/tmpz0x_dB.list:
>
>     INPUT("nsUnicharUtils.o")
>
>     INPUT("nsBidiUtils.o")
>
>     INPUT("nsSpecialCasingData.o")
>
>     INPUT("nsUnicodeProperties.o")
>
>     INPUT("nsRDFResource.o")
>
>     INPUT("nsStaticXULComponents.o")
>
>     INPUT("../../media/kiss_fft/kiss_fft.o")
>
>     INPUT("../../media/kiss_fft/kiss_fftr.o")
>
>     INPUT("../xre/nsNativeAppSupportUnix.o")
>
>     INPUT("../xre/nsX11ErrorHandler.o")
>
>     INPUT("../xre/CreateAppData.o")
>
>     INPUT("../xre/ProfileReset.o")
>
>     INPUT("../xre/nsAppRunner.o")
>
>     INPUT("../xre/nsConsoleWriter.o")
>
>     INPUT("../xre/nsEmbedFunctions.o")
>
>     INPUT("../xre/nsNativeAppSupportBase.o")
>
>     INPUT("../xre/nsSigHandlers.o")
>
>     INPUT("../xre/nsXREDirProvider.o")
>
>     INPUT("../xre/glxtest.o")
>
>     INPUT("../xre/EventTracer.o")
>
>     INPUT("../xre/nsUpdateDriver.o")
>
>     INPUT("../profile/nsProfileLock.o")
>
>     INPUT("../profile/nsToolkitProfileService.o")
>
>     INPUT("../mozapps/update/common/readstrings.o")
>
>     INPUT("../mozapps/update/common/updatelogging.o")
>
>     INPUT("../../widget/xremoteclient/XRemoteClient.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/string_lib.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/util_ios_queue.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/util_parse.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/util_string.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_string.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/model.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/reset_api.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/sip_platform_task.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/dns_utils.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_errno.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_init.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_ipc.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_socket.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_stdio.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_string.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_threads.o")
>
>     INPUT("../../media/webrtc/signaling/signaling_sipcc/cpr_linux_timers_using_select.o")
>
>
>
> collect2: error: ld terminated with signal 9 [Killed]
>
> make[5]: *** [libxul.so] Error 1
>
> make[5]: Leaving directory `/home/Project/install/mozilla-release/obj-xul-lin-dbg/toolkit/library'
>
> make[4]: *** [libs_tier_platform] Error 2
>
> make[4]: Leaving directory `/home/Project/install/mozilla-release/obj-xul-lin-dbg'
>
> make[3]: *** [tier_platform] Error 2
>
> make[3]: Leaving directory `/home/Project/install/mozilla-release/obj-xul-lin-dbg'
>
> make[2]: *** [default] Error 2
>
> make[2]: Leaving directory `/home/Project/install/mozilla-release/obj-xul-lin-dbg'
>
> make[1]: *** [realbuild] Error 2
>
> make[1]: Leaving directory `/home/Project/install/mozilla-release'
>
> make: *** [build] Error 2
>
>
>
>
>
> Any Idea to resolve this ?
>
>
>
> Thanks in Advance

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds