Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

build failure on FreeBSD #519

Closed
ghost opened this issue Dec 17, 2010 · 7 comments
Closed

build failure on FreeBSD #519

ghost opened this issue Dec 17, 2010 · 7 comments

Comments

@ghost
Copy link

ghost commented Dec 17, 2010

version 0.3.2, freebsd 7.2, amd64
https://gist.github.com/745413

@neonstalwart
Copy link

fyi: this seems to be an upstream issue http://code.google.com/p/v8/issues/detail?id=966

@japj
Copy link

japj commented Jul 6, 2011

ok, this still seems to be an open upstream (v8) issue. so all other FreeBSD related node issues are basically blocked by this one atm.

@ghost
Copy link
Author

ghost commented Jul 6, 2011

all build issues on 64bit, yes, but others can probably be tested on 32bit, which I guess works (I have 64bit server machine, though). If needed, I could maybe install 32bit freebsd on virtual box on my netbook with 32bit W7 Starter, but with 1GB it would be so-so...

@japj
Copy link

japj commented Jul 10, 2011

this seems to be fixed upstream at http://code.google.com/p/v8/source/detail?r=7200
can you retest the node master tree (which includes v8 3.4)?

@ghost
Copy link
Author

ghost commented Jul 10, 2011

In master, there is another problem:

src/uv-freebsd.c: In function 'uv_exepath':
src/uv-freebsd.c:36: error: 'CTL_KERN' undeclared (first use in this function)
src/uv-freebsd.c:36: error: (Each undeclared identifier is reported only once
src/uv-freebsd.c:36: error: for each function it appears in.)
src/uv-freebsd.c:37: error: 'KERN_PROC' undeclared (first use in this function)
src/uv-freebsd.c:38: error: 'KERN_PROC_PATHNAME' undeclared (first use in this function)
src/uv-freebsd.c:46: warning: incompatible implicit declaration of built-in function 'strlen'
gmake[1]: *** [src/uv-platform.o] Error 1
gmake[1]: Leaving directory `/usr/home/herby/cute/build/default/deps/uv'
Waf: Leaving directory `/usr/home/herby/cute/build'
Build failed:  -> task failed (err #2):
        {task: uv uv.h -> uv.a}
gmake: *** [program] Error 1

In v0.4, v8 still can't be compiled.

@japj
Copy link

japj commented Jul 10, 2011

ok, I filed an upstream libuv issue at joyent/libuv#93

on v0.4 we still use the 3.1 tree of v8, so it depends on upstream if they are going to fix the issue.

@sh1mmer
Copy link

sh1mmer commented Oct 20, 2011

0.5 has a newer version of V8 which fixes this issue. We won't be fixing it for 0.4 but when 0.6 drops it will include the fix. Since 0.5 builds on FBSD it will be fixed going forward.

@sh1mmer sh1mmer closed this as completed Oct 20, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants