[Pkg-chromium-maint] build Error - chromium-28.0.1500.71

Pierangelo Mancusi pierangelo.mancusi at gmail.com
Tue Sep 10 09:53:56 UTC 2013


hi mike,
so i've increase swap space uo to 40GB and the same error occurred

*/usr/bin/ld.gold.real: fatal error: out/Release/chrome: mmap: failed to
allocate 1878635504 bytes for output file: Cannot allocate memory*
*collect2: error: ld returned 1 exit status*
*make[1]: *** [out/Release/chrome] Error 1*


so i'm trying to make a diff beetween debian and google, in ordern to find
linker invocation params...

for now i found  the g++ "Google" invocation string (which works) in
src/out/Release/build.ninja:

command = $ld $ldflags -o $out -Wl,--start-group $in $solibs
-Wl,--end-group $libs
printed:        g++ -Wl,-z,now -Wl,-z,relro -pthread
-Wl,-z,noexecstack...lpthread -lcrypt -lm -L/lib/i386-linux-gnu -lexpat
-ldbus-1 -ludev

to be continued...














2013/9/9 Pierangelo Mancusi <pierangelo.mancusi at gmail.com>

> grrr! it can be only one...
>
> /usr/bin/ld.gold.real: fatal error: out/Release/chrome: mmap: failed to
> allocate 1878635504 bytes for output file: Cannot allocate memory
> collect2: error: ld returned 1 exit status
> make[1]: *** [out/Release/chrome] Error 1
> make[1]: Leaving directory
> `/home/petrus/developer/projects/tmp/chromium-browser-29.0.1547.57/src'
> make: *** [debian/stamp-makefile-build] Error 2
>
>
>
>
>
>
>
>
>
> 2013/9/8 Michael Gilbert <mgilbert at debian.org>
>
>> On Sun, Sep 8, 2013 at 1:13 PM, Pierangelo Mancusi wrote:
>> >
>> > g++ '-DANGLE_DX11' '-D_FILE_OFFSET_BITS=64' '-DNO_TCMALLOC'
>> '-DDISABLE_NACL'
>> > '-DCHROMIUM_BUILD' '-DUSE_DEFAULT_RENDER_THEME=1'
>> '-DUSE_LIBJPEG_TURBO=1'
>> > '-DUSE_NSS=1' '-DUSE_X11=1' '-DENABLE_ONE_CLICK_SIGNIN'
>> > '-DGTK_DISABLE_SINGLE_INCLUDES=1' '-DENABLE_REMOTING=1'
>> '-DENABLE_WEBRTC=1'
>> > '-DUSE_PROPRIETARY_CODECS' '-DENABLE_PEPPER_CDMS'
>> > '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH'
>> > '-DENABLE_NOTIFICATIONS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1'
>> > '-DENABLE_TASK_MANAGER=1' '-DENABLE_EXTENSIONS=1'
>> > '-DENABLE_PLUGIN_INSTALLATION=1' '-DENABLE_PLUGINS=1'
>> > '-DENABLE_SESSION_SERVICE=1' '-DENABLE_THEMES=1' '-DENABLE_BACKGROUND=1'
>> > '-DENABLE_AUTOMATION=1' '-DENABLE_GOOGLE_NOW=1'
>> > '-DENABLE_LANGUAGE_DETECTION=1' '-DENABLE_PRINTING=1'
>> > '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' '-DENABLE_MANAGED_USERS=1'
>> > '-DGOOGLE_PROTOBUF_NO_RTTI' '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER'
>> > '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0'
>> > -Ithird_party/protobuf -Ithird_party/protobuf/src  -fstack-protector
>> > --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing
>> > -Wno-unused-parameter -Wno-missing-field-initializers
>> -fvisibility=hidden
>> > -pipe -fPIC -Wno-format -fuse-ld=gold -Wno-unused-result -O2 -fno-ident
>> > -fdata-sections -ffunction-sections -fno-unwind-tables
>> > -fno-asynchronous-unwind-tables -fno-rtti -fno-threadsafe-statics
>> > -fvisibility-inlines-hidden -Wno-deprecated -MMD -MF
>> >
>> out/Release/.deps/out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/strutil.o.d.raw
>> > -c -o
>> >
>> out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/strutil.o
>> > third_party/protobuf/src/google/protobuf/stubs/strutil.cc
>> >
>> > g++-4.7.real: error: unrecognized command line option ‘-fuse-ld=gold’
>> > make[1]: ***
>> >
>> [out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/strutil.o]
>> > Error 1
>> > make[1]: Leaving directory
>> > `/home/petrus/developer/projects/tmp/chromium-browser-29.0.1547.57/src'
>> > make: *** [debian/stamp-makefile-build] Error 2
>>
>> You need to be using gcc >= 4.8.
>>
>> Best wishes,
>> Mike
>>
>> _______________________________________________
>> Pkg-chromium-maint mailing list
>> Pkg-chromium-maint at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-chromium-maint
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-chromium-maint/attachments/20130910/9905b7b5/attachment.html>


More information about the Pkg-chromium-maint mailing list