Date: Wed, 26 Jun 2013 09:50:47 GMT From: Dewayne <dewayne@heuristicsystems.com.au> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/179998: tevent fails 32bit compilation (a samba 4.0.4 port dependency) Message-ID: <201306260950.r5Q9ol3r086442@oldred.freebsd.org> Resent-Message-ID: <201306261000.r5QA00kf082365@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179998 >Category: ports >Synopsis: tevent fails 32bit compilation (a samba 4.0.4 port dependency) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 26 10:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Dewayne >Release: FreeBSD 9.1Stable (Last Changed Rev: 252225) >Organization: >Environment: FreeBSD b1.hs 9.1-STABLE FreeBSD 9.1-STABLE #0: Mon Jun 24 20:02:57 EST 2013 root@:/usr/obj/prod/901/D/CORE2/usr/src/sys/hqdev-amd64-padlock-smp-vga i386 >Description: tevent compiles correctly on an amd64 platform. However during compilation on a 32 bit platform fails. Default compiler gcc version 4.2.1 20070831 patched [FreeBSD] is used. When samba 4.0.4, 4.0.5 or 4.0.6 are compiled on the same machine, libtevent.so is successfully linked, unfortunately confusing the issue. [19/25] Compiling tevent_poll.c ./tevent_poll.c: In function 'poll_event_loop_poll': ./tevent_poll.c:553: warning: comparison is always false due to limited range of data type [20/25] Compiling tevent_signal.c [21/25] Compiling tevent_standard.c [22/25] Compiling tevent_timed.c [23/25] Compiling tevent_util.c [24/25] Compiling tevent_wakeup.c [25/25] Linking default/libtevent.so default/tevent_poll_1.o: In function `poll_event_loop_once': tevent_poll.c:(.text+0x882): undefined reference to `__stack_chk_fail_local' default/tevent_signal_1.o: In function `signal_pipe_handler': tevent_signal.c:(.text+0xbc1): undefined reference to `__stack_chk_fail_local' default/lib/replace/replace_2.o: In function `rep_get_current_dir_name': replace.c:(.text+0xa3): undefined reference to `__stack_chk_fail_local' Waf: Leaving directory `/var/ports/usr/ports/devel/tevent/work/tevent-0.9.18/bin' Build failed: -> task failed (err #1): {task: cc_link tevent_1.o,tevent_debug_1.o,tevent_fd_1.o,tevent_immediate_1.o,tevent_queue_1.o,tevent_req_1.o,tevent_select_1.o,tevent_poll_1.o,tevent_signal_1.o,tevent_standard_1.o,tevent_timed_1.o,tevent_util_1.o,tevent_wakeup_1.o,replace_2.o,strptime_2.o,xattr_2.o -> libtevent.so} *** [do-build] Error code 1 Stop in /usr/ports/devel/tevent. >How-To-Repeat: cd /usr/ports/devel/tevent && make clean && make Content of /etc/make.conf CFLAGS+= -pipe -O2 -g0 -march=prescott -mtune=prescott COPTFLAGS+= -march=prescott -mtune=prescott ARCH= i386 >Fix: Unknown >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306260950.r5Q9ol3r086442>