Package Details: v8-3.14 3.14.5-4

Git Clone URL: https://aur.archlinux.org/v8-3.14.git (read-only)
Package Base: v8-3.14
Description: A fast and modern javascript engine (old 3.14 version required R package V8)
Upstream URL: http://code.google.com/p/v8
Licenses: BSD
Conflicts: v8
Provides: v8
Submitter: kageurufu
Maintainer: pat-s
Last Packager: pat-s
Votes: 4
Popularity: 0.193423
First Submitted: 2015-02-13 01:28
Last Updated: 2018-05-29 09:02

Latest Comments

hpmachining commented on 2018-06-03 16:54

For reference, I was able to build this with gyp (20170609-2) in the main repository instead of gyp-git.

pat-s commented on 2018-05-29 09:03

@znemb Thanks for the info. I updated the package using the fix by @sjewo (thanks!). It should build successfully again.

sjewo commented on 2018-05-29 08:21

GCC 8 introduced some new error checks.

Alter line 72 in PKGBUILD to

export CXXFLAGS="${CXXFLAGS} -fno-delete-null-pointer-checks -std=c++98 -Wno-class-memaccess -Wno-cast-function-type"

to disable them.

znmeb commented on 2018-05-28 22:40

This does not build, and the R "V8" package does not work with the v8-3.14-bin package at the moment. I'm looking for a workaround.

../src/frames.h:70:41: error: ‘void memset(void, int, size_t)’ clearing an object of non-trivial type ‘struct v8::internal::InnerPointerToCodeCache::InnerPointerToCodeCacheEntry’; use assignment or value-initialization instead [-Werror=class-memaccess] memset(&cache_[0], 0, sizeof(cache_)); ^ ../src/frames.h:56:10: note: ‘struct v8::internal::InnerPointerToCodeCache::InnerPointerToCodeCacheEntry’ declared here struct InnerPointerToCodeCacheEntry { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/macro-assembler.h:49, from ../src/deoptimizer.h:34, from ../src/accessors.cc:32: ../src/assembler.h: In static member function ‘static void v8::internal::ExternalReference::set_redirector(v8::internal::Isolate, void ()(void, v8::internal::ExternalReference::Type))’: ../src/assembler.h:704:73: error: cast between incompatible function types from ‘void ()(void, v8::internal::ExternalReference::Type)’ to ‘void ()()’ [-Werror=cast-function-type] reinterpret_cast<externalreferenceredirectorpointer*>(redirector)); ^ ../src/assembler.h: In static member function ‘static void</externalreferenceredirectorpointer*> v8::internal::ExternalReference::Redirect(v8::internal::Isolate, void, v8::internal::ExternalReference::Type)’: ../src/assembler.h:716:53: error: cast between incompatible function types from ‘void ()()’ to ‘void ()(void, v8::internal::ExternalReference::Type)’ [-Werror=cast-function-type] isolate->external_reference_redirector()); ^ ../src/assembler.h: In static member function ‘static void v8::internal::ExternalReference::Redirect(v8::internal::Isolate, v8::internal::Address, v8::internal::ExternalReference::Type)’: ../src/assembler.h:727:53: error: cast between incompatible function types from ‘void ()()’ to ‘void ()(void, v8::internal::ExternalReference::Type)’ [-Werror=cast-function-type] isolate->external_reference_redirector()); ^ cc1plus: all warnings being treated as errors make[1]: [tools/gyp/v8_base.target.x64.mk:226: /d/TMPDIR/yaourt-tmp-znmeb/aur-v8-3.14/src/v8-3.14.5/out/x64.release/obj.target/v8_base/src/accessors.o] Error 1 make[1]: Leaving directory '/d/TMPDIR/yaourt-tmp-znmeb/aur-v8-3.14/src/v8-3.14.5/out' make: [Makefile:179: x64.release] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build v8-3.14. ==> Restart building v8-3.14 ? [y/N] ==> --------------------------------

kageurufu commented on 2017-02-07 18:18

Sorry to say I'm disowning this package, I don't have time to get this building again.

I did, however, package v8-3.14-bin from ubuntu, and have uploaded that to the AUR now at https://aur.archlinux.org/packages/v8-3.14-bin

sjewo commented on 2017-02-06 06:39

The gcc 6 patch doesn't fix all segfaults. Compiling with gcc-49 works for me.

sjewo commented on 2017-01-20 18:03

I altered the PKGBUILD to include the gcc 6 patch (I also changed the source and added a dependecy to gyp-git).

You'll find the code here:
https://github.com/jeroenooms/V8/issues/32#issuecomment-274110406

JanMarvin commented on 2017-01-20 15:50

To run d8 and I assume v8 the following patch is required to be able to use this with gcc 6: https://bugzilla.redhat.com/attachment.cgi?id=1164037

I applied the patch and many more (http://pkgs.fedoraproject.org/cgit/rpms/v8-314.git/tree/) and can provide an updated PKGBUILD, but I do not know anything about v8 nor do I use this package so dunno :)

nacnudus commented on 2016-06-21 17:04

I am unable to build this package since the gyp repository has moved from svn to GitHub.

==> Starting build()...
svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \
--revision 1501
svn: E170013: Unable to connect to a repository at URL 'http://gyp.googlecode.com/svn/trunk'
svn: E160013: '/svn/trunk' path not found
make: *** [Makefile:289: dependencies] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build v8-3.14.
==> Restart building v8-3.14 ? [y/N]

nacnudus commented on 2016-06-20 23:09

The SVN repos for gyp have moved to a git repo. See the comments on another V8 package here: https://aur.archlinux.org/packages/v8-3.15/