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/
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"