From owner-freebsd-current@FreeBSD.ORG Thu Feb 24 07:26:31 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 29CC1106564A for ; Thu, 24 Feb 2011 07:26:31 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from doug-optiplex.ka9q.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 0C85814F410 for ; Thu, 24 Feb 2011 07:26:31 +0000 (UTC) Message-ID: <4D660826.7020609@FreeBSD.org> Date: Wed, 23 Feb 2011 23:26:30 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110129 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-current@FreeBSD.org X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Problem with a port after clang'ifying X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 07:26:31 -0000 I followed the instructions at: http://wiki.freebsd.org/BuildingFreeBSDWithClang and everything went quite well. The system built fine, and runs fine for most of my ports. There is one minor one, misc/wmweather+ that crashes every time I start it. The trace looks like this: #0 strcasecmp (s1=Variable "s1" is not available. ) at /home/svn/head/lib/libc/string/strcasecmp.c:48 48 while (tolower(*us1) == tolower(*us2++)) (gdb) bt #0 strcasecmp (s1=Variable "s1" is not available. ) at /home/svn/head/lib/libc/string/strcasecmp.c:48 #1 0x0000000800988259 in CreateColors (display=0x802cf5000, attributes=0x7fffffffd590, colors=0x802c4fd00, ncolors=5, image_pixels=0x802cb75e0, mask_pixels=0x802cb7610, mask_pixel_index=0x7fffffffcf4c, alloc_pixels=0x802cb7670, nalloc_pixels=0x7fffffffcf48, used_pixels=0x802cb76a0, nused_pixels=0x7fffffffcf44) at create.c:657 #2 0x0000000800989764 in xpmParseDataAndCreate (display=0x802cf5000, data=0x7fffffffcfb0, image_return=0x7fffffffd498, shapeimage_return=0x7fffffffd490, image=0x7fffffffd430, info=0x7fffffffd3f0, attributes=0x7fffffffd590) at create.c:2127 #3 0x0000000800985403 in XpmCreateImageFromData (display=0x802cf5000, data=0x61e4c0, image_return=0x7fffffffd498, shapeimage_return=0x7fffffffd490, attributes=0x7fffffffd590) at CrIFrDat.c:66 #4 0x0000000800985693 in XpmCreatePixmapFromData (display=0x802cf5000, d=169, data=Variable "data" is not available. ) at CrPFrDat.c:60 #5 0x0000000000412d66 in GetXPM (wmgen=0x7fffffffd580, pixmap_bytes=0x61e4c0) at wmgeneral-x11.c:117 #6 0x0000000000409e54 in init_font (i=0) at font.c:61 #7 0x0000000000409f75 in DrawChar (x=32, y=29, c=Variable "c" is not available. ) at font.c:143 #8 0x000000000040a198 in DrawString (x=32, y=29, str=Variable "str" is not available. ) at font.c:72 #9 0x0000000000406160 in DrawDisplay (force=Variable "force" is not available. ) at dock.c:457 #10 0x00000000004077a0 in update_dock () at dock.c:229 #11 0x00000000004124a7 in main (argc=1, argv=0x7fffffffd970) at wmweather+.c:737 The ports were all compiled with gcc of course, recompiling (still with gcc) after clang'ifying didn't help. Oddly enough, this is a very simple port, so far all my other complex ports (including things like firefox + flash, tbird, pidgin, etc.) are all working fine. Suggestions welcome, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/