discuss-gnustep
[Top][All Lists]
Advanced

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

Re: gnustep compiled with clang and gworkspace problem


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

On 10/03/11 12:13, Sebastian Reitenbach wrote:
> 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

hrm, with gcc compiled, base tests look similar OK like with clang, but
gui is:

732 Passed tests
  2 Failed files


Testing lazy_copy.m...
Running gnustep-gui-0.20.0/Tests/gui/NSPasteboard/lazy_copy.m...
./obj/lazy_copy: Uncaught exception NSPasteboardCommunicationException,
reason:
NSConection types (v@0:4Q8@16@20@24I28@32 / v36@0:4Q8@16@20@24L28@32)
missmatch
for addObserver:selector:name:object:suspensionBehavior:for:
Abort trap (core dumped)
Failed file:     lazy_copy.m aborted without running all tests!


Testing setDelegate_reload.m...
Running gnustep-gui-0.20.0/Tests/gui/NSSavePanel/setDelegate_reload.m...
2011-10-03 13:03:24.682 setDelegate_reload[2593] XShm not supported,
XShmAttach(
) failed.
2011-10-03 13:03:24.685 setDelegate_reload[2593] Falling back to normal
XImage (
will be slower).
Abort trap (core dumped)
Failed file:     setDelegate_reload.m aborted without running all tests!

At least the setDelegate_reload.m seems to have a problem with both...

Sebastian

> 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]