Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 19:06:11 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/187689: lang/guile does not work when compiled with clang 3.4 on i386
Message-ID:  <201403180206.s2I26BSZ041492@mousie.catspoiler.org>
Resent-Message-ID: <201403180210.s2I2A0q4001408@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187689
>Category:       ports
>Synopsis:       lang/guile does not work when compiled with clang 3.4 on i386
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 18 02:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Don Lewis
>Release:        FreeBSD 11.0-CURRENT i386
>Organization:
FreeBSD Project
>Environment:
System: FreeBSD scratch.catspoiler.org 11.0-CURRENT FreeBSD 11.0-CURRENT #72 r262892M: Fri Mar  7 14:21:49 PST 2014     dl@scratch.catspoiler.org:/usr/obj/usr/src/sys/GENERICSMB  i386

	guile-1.8.8:
	gmp-5.1.3_1
	readline-6.3_1
	libltdl-2.4.2_2
	gettext-0.18.3.1

all of the above ports freshly compiled.

FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216
Target: i386-unknown-freebsd11.0
Thread model: posix

>Description:

If guile is compiled with clang 3.4 on an i386 11.0-CURRENT box, then
anything that tries to run guile fails like this:

%guile-config --version
ERROR: Unbound variable: define

If guile is compiled with gcc47, then guile works correctly:

%guile-config --version
guile-config - Guile version 1.8.8

I don't know if this also happens on amd64.

I don't know if this is a guile bug or a clang bug.

>How-To-Repeat:

Build lang/guile with clang 3.4 (the default on 11.0-CURRENT) on i386.

Run guile-config --version

>Fix:

Workaround: compile this port with gcc.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403180206.s2I26BSZ041492>