discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnustep compiled with clang and gworkspace problem


From: Sebastian Reitenbach
Subject: gnustep compiled with clang and gworkspace problem
Date: Mon, 03 Oct 2011 12:13:55 +0200
User-agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.9.2.18) Gecko/20110719 Thunderbird/3.1.11

Hi,

I completely uninstalled gnustep from my OpenBSD box, and changed the
ports to build with clang instead of gcc.
I have gnustep-make-1.6.1, gnustep-base-1.22.1, gnustep-gui-0.20.0,
gnustep-back-0.20.1, llvm/clang-2.9.
Since the other strange problems I saw, I did not installed the libobjc2
for now.

I ran gnustep_test on gnustep-base and it reported:
2793 Paased tests
    13 Dashed hopes
      1 Skipped test

so far so good, and ran it on gnustep-gui I get:

733 Passed tests
    4 Failed tests

in the tests.log I see:

Testing setDelegate_reload.m...
Running gnustep-gui-0.20.0/Tests/gui/NSSavePanel/setDelegate_reload.m...
Failed test:     browser initially contains all files
Failed test:     browser is reloaded after -setDelegate:
Failed test:     browser contains all files after resetting delegate
Failed test:     browser is reloaded after -setDelegate: (2)
Completed file:  setDelegate_reload.m

the reason for my check is, when I start GWorkspace, then I get the
following to read on the console:

2011-10-03 11:43:56.020 GWorkspace[2219] XShm not supported,
XShmAttach() failed.
2011-10-03 11:43:56.054 GWorkspace[2219] Falling back to normal XImage
(will be slower).
2011-10-03 11:43:57.490 fswatcher[6960] register client 2
2011-10-03 11:43:57.771 GWorkspace[2219] Volumes ({dir = "/"; name =
"/dev/wd0a"; type = ffs; }, {dir = "/home"; name = "/dev/wd0k"; type =
ffs; }, {dir = "/tmp"; name = "/dev/wd0d"; type = ffs; }, {dir = "/usr";
name = "/dev/wd0f"; type = ffs; }, {dir = "/usr/X11R6"; name =
"/dev/wd0g"; type = ffs; }, {dir = "/usr/local"; name = "/dev/wd0h";
type = ffs; }, {dir = "/usr/obj"; name = "/dev/wd0j"; type = ffs; },
{dir = "/usr/src"; name = "/dev/wd0i"; type = ffs; }, {dir = "/var";
name = "/dev/wd0e"; type = ffs; })
2011-10-03 11:43:58.594 GWorkspace[2219] Exception occured while loading
model: GSColorSliderCell(instance) does not recognize
_setColorSliderCellMode:
2011-10-03 11:43:58.595 GWorkspace[2219] Failed to load Gorm
2011-10-03 11:43:58.783 GWorkspace[2219] failed to load FModuleAnnotations!
2011-10-03 11:43:58.784 GWorkspace[2219] Problem posting notification:
<NSException: 0x86b881a8> NAME:NSInvalidArgumentException REASON:Tried
to add nil to array INFO:(null)
2011-10-03 11:43:59.644 GWorkspace[2219] Unable to obtain lock (null)

but GSColorSliderCell.m seems to compile fine:
clang GSColorSliderCell.m -c \
      -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-ali
asing -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE
-Wno-import -O2 -pipe -g -O0 -fgnu-runtime -fconstant-
string-class=NSConstantString -I../Headers/Additions -I../Headers -I.
-I/usr/local/include -I/gnustep-gui-0.20.0_writes_to_HOM
E/GNUstep/Library/Headers -I/usr/local/include \
       -o obj/StandardPicker.obj/GSColorSliderCell.m.o
clang -shared -fPIC  -Wl,-E       -o
./StandardPicker.bundle/./StandardPicker
./obj/StandardPicker.obj/GSStandardColorPicker.m
.o ./obj/StandardPicker.obj/GSRGBColorPicker.m.o
./obj/StandardPicker.obj/GSCMYKColorPicker.m.o
./obj/StandardPicker.obj/GSHSB
ColorPicker.m.o ./obj/StandardPicker.obj/GSGrayColorPicker.m.o
./obj/StandardPicker.obj/GSColorSliderCell.m.o   -L../Source/./
obj -L../Models/./obj   
-L/gnustep-gui-0.20.0_writes_to_HOME/GNUstep/Library/Libraries
-L/usr/local/lib  -L/usr/local/lib
-lgnustep-gui    -lgnustep-base   -pthread -lobjc   -lm

I'm not sure whether the failed tests have anything to do with the
GSColorSliderCell problem of GWorkspace. I'll rerun the testsuites with
just using gcc instead of clang, forgot to do it before.
checked out clang from svn, but on my slow box it may take a couple of
hours to compile it...

Sebastian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]