Bug 200893 - net/siproxd build failure on i386 with gcc
Summary: net/siproxd build failure on i386 with gcc
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Some People
Assignee: Martin Wilke
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2015-06-16 01:05 UTC by dewayne
Modified: 2015-12-24 21:26 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (frank)


Attachments
Poudriere testport log from 10.1-RELEASE i386 (71.98 KB, text/x-log)
2015-09-19 20:40 UTC, Jason Unovitch
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description dewayne 2015-06-16 01:05:12 UTC
There appears to be a missing symbol when compiled on 10.1Stable i386 using gcc (defaults to 4.8.4).  The missing symbol is
`lt__PROGRAM__LTX_preloaded_symbols'

per

/usr/local/libexec/ccache/gcc48 -D_GNU_SOURCE -DBUILDSTR=\"53\" -O2 -pipe -g0 -ggdb0 -DSTRIP_FBSDID -march=prescott -mtune=prescott -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wall -D_THREAD_SAFE -pthread -D_POSIX_THREAD_SAFE_FUNCTIONS -Wl,-rpath=/usr/local/lib/gcc48 -o siproxd siproxd.o proxy.o register.o sock.o utils.o sip_utils.o sip_layer.o log.o readconf.o rtpproxy.o rtpproxy_relay.o accessctl.o route_processing.o security.o auth.o fwapi.o resolve.o dejitter.o plugins.o redirect_cache.o .libs/siproxdS.o -Wl,--export-dynamic  -L/usr/local/lib/gcc48 -losipparser2 -losip2 -L/usr/local/lib /usr/local/lib/libltdl.so -L/usr/local/lib/   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
plugins.o: In function `load_plugins':
plugins.c:(.text+0x16): undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
collect2: error: ld returned 1 exit status
rm -f .libs/siproxdS.o
*** Error code 1

siproxd builds successfully on amd64 using clang.
Comment 1 Carlo Strub freebsd_committer freebsd_triage 2015-09-15 22:02:12 UTC
If this problem persists, could you provide a patch maybe?
Comment 2 Jason Unovitch freebsd_committer freebsd_triage 2015-09-19 20:40:22 UTC
Created attachment 161199 [details]
Poudriere testport log from 10.1-RELEASE i386

I couldn't replicate this with USE_GCC set for this port.  Build log is attached.

.if ${.CURDIR:M*/net/siproxd*}
USE_GCC=yes
.endif
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2015-12-24 21:26:54 UTC
Feedback timeout.