>> I get errors such as these when trying to compile chromium, as per the blfs 
>> dev book:
>>
>> FAILED: obj/v8/v8_base/ast-types.o
>> FAILED: obj/v8/v8_base/ast-value-factory.o
>> FAILED: obj/v8/v8_base/context-slot-cache.o
>> FAILED: obj/v8/v8_base/compile-time-value.o
>> FAILED: obj/v8/v8_base/modules.o
>> FAILED: obj/v8/v8_base/prettyprinter.o
>> FAILED: obj/v8/v8_base/background-parsing-task.o - which ends like this:

>> ninja: build stopped: subcommand failed.
>>
>> I've also tried version 58.0.3029.110 but get similar-looking errors.
>
>I tried it a few days ago and got similar errors.  Since there are a ton
>of other things to do and this takes so long, I thought I'd wait awhile.
>
>Sorry I can't be more help.
>
>But see:
>https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853347
>https://github.com/muchpack/chromium-freeworld/blob/master/chromium-v8-gcc7.patch
>
>Please let us know if the patch works.

I applied the patch to chromium-58.0.3029.110 and it fixes the v8 problem.
However it now fails with:

FAILED: 
obj/third_party/WebKit/Source/modules/webdatabase/webdatabase/QuotaTracker.o
FAILED: 
obj/third_party/WebKit/Source/modules/webdatabase/webdatabase/DOMWindowWebDatabase.o

the latter one ends with:

In file included from 
../../third_party/WebKit/Source/platform/heap/ThreadingTraits.h:14:0,
                 from 
../../third_party/WebKit/Source/platform/heap/ThreadState.h:36,
                 from 
../../third_party/WebKit/Source/platform/heap/GarbageCollected.h:8,
                 from 
../../third_party/WebKit/Source/platform/heap/Visitor.h:35,
                 from ../../third_party/WebKit/Source/platform/heap/GCInfo.h:8,
                 from 
../../third_party/WebKit/Source/platform/heap/HeapPage.h:38,
                 from 
../../third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.h:10,
                 from 
../../third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34,
                 from 
../../third_party/WebKit/Source/modules/webdatabase/SQLResultSet.h:32,
                 from 
../../third_party/WebKit/Source/modules/webdatabase/SQLStatement.h:32,
                 from 
../../third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp:29:
../../third_party/WebKit/Source/wtf/LinkedHashSet.h: In member function ‘void 
WTF::LinkedHashSet<Value, HashFunctions, HashTraits, 
Allocator>::swap(WTF::LinkedHashSet<Value, HashFunctions, HashTraits, 
Allocator>&)’:
../../third_party/WebKit/Source/wtf/LinkedHashSet.h:693:3: error: there are no 
arguments to ‘swapAnchor’ that depend on a template parameter, so a declaration 
of ‘swapAnchor’ must be available [-fpermissive]
   swapAnchor(m_anchor, other.m_anchor);
   ^~~~~~~~~~
../../third_party/WebKit/Source/wtf/LinkedHashSet.h:693:3: note: (if you use 
‘-fpermissive’, G++ will accept your code, but allowing the use of an 
undeclared name is deprecated)
In file included from 
../../third_party/WebKit/Source/wtf/text/TextEncoding.h:32:0,
                 from 
../../third_party/WebKit/Source/core/dom/DocumentEncodingData.h:36,
                 from ../../third_party/WebKit/Source/core/dom/Document.h:38,
                 from 
../../third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h:35,
                 from 
../../third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp:31:
../../third_party/WebKit/Source/wtf/text/TextCodec.h: At global scope:
../../third_party/WebKit/Source/wtf/text/TextCodec.h:76:51: warning: enum 
constant in boolean context [-Wint-in-bool-context]
 static_assert(DataEOF, "DataEOF should be truthy");
                                                   ^
ninja: build stopped: subcommand failed.

This has been reported here: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853347

but I haven't found a patch for it yet.

jb.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to