pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: comms/asterisk18 build failure on current/amd64



On Thu, Oct 06, 2011 at 11:55:34AM -0600, Sverre Froyen wrote:
>    [LD] ../res/res_adsi.o abstract_jb.o acl.o alaw.o aoc.o app.o ast_expr2.o 
> ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autochan.o 
> autoservice.o bridging.o callerid.o ccss.o cdr.o cel.o channel.o chanvars.o 
> cli.o config.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o 
> dsp.o enum.o event.o features.o file.o fixedjitterbuf.o frame.o framehook.o 
> fskmodem.o global_datastores.o hashtab.o heap.o http.o image.o indications.o 
> io.o jitterbuf.o loader.o lock.o logger.o manager.o md5.o netsock.o 
> netsock2.o 
> pbx.o plc.o poll.o privacy.o rtp_engine.o say.o sched.o security_events.o 
> sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o strcompat.o strings.o 
> stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadstorage.o 
> timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o xmldoc.o 
> editline/libedit.a db1-ast/libdb1.a  -> asterisk
> ld: asterisk: local symbol `__progname' in /usr/lib/crt0.o is referenced by 
> DSO
> ld: final link failed: Bad value
> 
> Looks like __progname is defined in  /usr/lib/crt0.o and used by libc.
> 
> $ gcc --version
> gcc (NetBSD nb2 20110806) 4.5.3
> 
> $ ld --version
> GNU ld (NetBSD Binutils nb1) 2.21.1

I see a similar problem with mono:
mv -f .deps/mono-main.Tpo .deps/mono-main.Po
/bin/sh ../../libtool --quiet --tag=CC   --mode=link gcc -I../.. 
-I../../eglib/src -I../../eglib/src    -DHAVE_BOEHM_GC -DHAVE_GC_H 
-DUSE_INCLUDED_LIBGC -DHAVE_GC_GCJ_MALLOC -DHAVE_GC_ENABLE 
-I../../libgc/include -O2 -I/usr/include -I/usr/pkg/include 
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
-Wwrite-strings -mno-tls-direct-seg-refs  -export-dynamic 
-Wl,-version-script=./ldscript.mono   -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib 
-Wl,-R/usr/pkg/lib -pthread -o mono mono-main.o libmono-static.la 
-L../../eglib/src -leglib -lm   -lm  -lm   -lpthread
*** [buildlink3] Warning: libtool replaced -leglib with 
../../eglib/src/libeglib.la
ld: mono: local symbol `__progname' in /usr/lib/crt0.o is referenced by DSO
ld: final link failed: Bad value
gmake[4]: *** [mono] Error 1

5.99.56/20111005/amd64 with same gcc and ld as Sverre.
 Thomas


Home | Main Index | Thread Index | Old Index