Opened 12 years ago

Closed 6 years ago

#32359 closed defect (fixed)

javascript-lint: Darwin_DBG.OBJ/libjs.a(jsmath.o) non-external symbol 962 (___i686.get_pc_thunk.bx) can't be a weak definition

Reported by: rudloff@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: tiger Cc:
Port: javascript-lint

Description

libtool  -framework System -o Darwin_DBG.OBJ/libjs.so Darwin_DBG.OBJ/jsapi.o Darwin_DBG.OBJ/jsarena.o Darwin_DBG.OBJ/jsarray.o Darwin_DBG.OBJ/jsatom.o Darwin_DBG.OBJ/jsbool.o Darwin_DBG.OBJ/jscntxt.o Darwin_DBG.OBJ/jsdate.o Darwin_DBG.OBJ/jsdbgapi.o Darwin_DBG.OBJ/jsdhash.o Darwin_DBG.OBJ/jsdtoa.o Darwin_DBG.OBJ/jsemit.o Darwin_DBG.OBJ/jsexn.o Darwin_DBG.OBJ/jsfun.o Darwin_DBG.OBJ/jsgc.o Darwin_DBG.OBJ/jshash.o Darwin_DBG.OBJ/jsinterp.o Darwin_DBG.OBJ/jslock.o Darwin_DBG.OBJ/jslog2.o Darwin_DBG.OBJ/jslong.o Darwin_DBG.OBJ/jsmath.o Darwin_DBG.OBJ/jsnum.o Darwin_DBG.OBJ/jsobj.o Darwin_DBG.OBJ/jsopcode.o Darwin_DBG.OBJ/jsparse.o Darwin_DBG.OBJ/jsprf.o Darwin_DBG.OBJ/jsregexp.o Darwin_DBG.OBJ/jsscan.o Darwin_DBG.OBJ/jsscope.o Darwin_DBG.OBJ/jsscript.o Darwin_DBG.OBJ/jsstr.o Darwin_DBG.OBJ/jsutil.o Darwin_DBG.OBJ/jsxdrapi.o Darwin_DBG.OBJ/prmjtime.o   -Lfdlibm/Darwin_DBG.OBJ -lfdm
cc -o Darwin_DBG.OBJ/jsl.o -c -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX  -DDEBUG -DDEBUG_macports -DEDITLINE -IDarwin_DBG.OBJ  jsl.c
cc -o Darwin_DBG.OBJ/jsl -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX  -DDEBUG -DDEBUG_macports -DEDITLINE -IDarwin_DBG.OBJ  Darwin_DBG.OBJ/jsl.o Darwin_DBG.OBJ/libjs.a  -Lfdlibm/Darwin_DBG.OBJ -lfdm \
    editline/Darwin_DBG.OBJ/libedit.a
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Darwin_DBG.OBJ/libjs.a(jsmath.o) non-external symbol 962 (___i686.get_pc_thunk.bx) can't be a weak definition
collect2: ld returned 1 exit status
make[1]: *** [Darwin_DBG.OBJ/jsl] Error 1

Attachments (1)

main.log (46.1 KB) - added by rudloff@… 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by rudloff@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rwilcox@… removed
Owner: changed from macports-tickets@… to rwilcox@…

comment:2 in reply to:  description Changed 12 years ago by rwilcox (Ryan Wilcox)

Replying to rudloff@…:

/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Darwin_DBG.OBJ/libjs.a(jsmath.o) non-external symbol 962 (___i686.get_pc_thunk.bx) can't be a weak definition
collect2: ld returned 1 exit status
make[1]: *** [Darwin_DBG.OBJ/jsl] Error 1

This port builds great for me on my OS X 10.7 machine. I noticed that Darwin 8 shipped as part of Mac OS X 10.4... I don't think Macports officially supports much lower than 10.6 (although, mods please let me know if this is incorrect).

Hope this helps (and sorry for the late reply)

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Yes, 10.6 is the oldest officially supported OS. Supporting other versions is at the option of maintainers (and usually depends on which versions they have available to test on).

comment:4 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from rwilcox@… to macports-tickets@…

comment:5 Changed 6 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

In e674e3b6e7c507d6f4dde470801118867f06b4eb/macports-ports (master):

javascript-lint: use the right compiler

Fixes: #32359

Note: See TracTickets for help on using tickets.