[vtk-developers] OS X vtkDetermineCompilerFlags.cmake broken for gcc 4.5 up -mlong-branch only relevant to PPC

Sean McBride sean at rogue-research.com
Fri Apr 20 18:33:33 EDT 2012


On Fri, 13 Apr 2012 15:49:51 -0400, Sean McBride said:

>On Fri, 13 Apr 2012 15:02:44 -0400, David Cole said:
>
>>Some files probably included some system headers that had "\p" strings in
>>them...
>>
>>Not sure if it's true anymore.
>
>As best as I can tell, there's no Pascal strings, and that stuff is not
>needed.  I'll try removing some of this cruft and create a patch...

I haven't forgotten about this, and have been experimenting with a patch, but have been waiting for the post-modularization changes to settle down.

I've seen messages fly by that look related, but, I'm no longer able to build with wrappings enabled because a process named vtkWrapHierarchy gets stuck.  Due to this I can't throughly test my patch and I've also disabled VTK builds from my dashboard.  Sampling the process reveals the call graph below.  Anyone know what's going on here?  Thanks.

Call graph:
    2534 Thread_2323010   DispatchQueue_1: com.apple.main-thread  (serial)
      2534 start  (in vtkWrapHierarchy) + 52  [0x104fa8d94]
        2534 main  (in vtkWrapHierarchy) + 1352  [0x104fcf3b8]  vtkWrapHierarchy.c:996
          2534 vtkWrapHierarchy_TryParseHeaderFile  (in vtkWrapHierarchy) + 141  [0x104fcf63d]  vtkWrapHierarchy.c:792
            2534 vtkWrapHierarchy_ParseHeaderFile  (in vtkWrapHierarchy) + 122  [0x104fcfffa]  vtkWrapHierarchy.c:573
              2534 vtkParse_ParseFile  (in vtkWrapHierarchy) + 383  [0x104fc117f]  vtkParse.y:4654
                2534 yyparse  (in vtkWrapHierarchy) + 864  [0x104fabec0]  vtkParse.tab.c:4894
                  2534 yylex  (in vtkWrapHierarchy) + 3008  [0x104fb1d30]  vtkParse.l:120
                    2534 vtkParsePreprocess_HandleDirective  (in vtkWrapHierarchy) + 484  [0x104fc4064]  vtkParsePreprocess.c:2134
                      2534 preproc_evaluate_include  (in vtkWrapHierarchy) + 306  [0x104fc5372]  vtkParsePreprocess.c:2056
                        2534 preproc_include_file  (in vtkWrapHierarchy) + 2319  [0x104fc7e0f]  vtkParsePreprocess.c:1997
                          2534 vtkParsePreprocess_HandleDirective  (in vtkWrapHierarchy) + 484  [0x104fc4064]  vtkParsePreprocess.c:2134
                            2534 preproc_evaluate_include  (in vtkWrapHierarchy) + 306  [0x104fc5372]  vtkParsePreprocess.c:2056
                              2534 preproc_include_file  (in vtkWrapHierarchy) + 2319  [0x104fc7e0f]  vtkParsePreprocess.c:1997
                                2534 vtkParsePreprocess_HandleDirective  (in vtkWrapHierarchy) + 484  [0x104fc4064]  vtkParsePreprocess.c:2134
                                  2534 preproc_evaluate_include  (in vtkWrapHierarchy) + 306  [0x104fc5372]  vtkParsePreprocess.c:2056
                                    2534 preproc_include_file  (in vtkWrapHierarchy) + 2319  [0x104fc7e0f]  vtkParsePreprocess.c:1997
                                      2534 vtkParsePreprocess_HandleDirective  (in vtkWrapHierarchy) + 484  [0x104fc4064]  vtkParsePreprocess.c:2134
                                        2534 preproc_evaluate_include  (in vtkWrapHierarchy) + 306  [0x104fc5372]  vtkParsePreprocess.c:2056
                                          2534 preproc_include_file  (in vtkWrapHierarchy) + 2319  [0x104fc7e0f]  vtkParsePreprocess.c:1997
                                            2534 vtkParsePreprocess_HandleDirective  (in vtkWrapHierarchy) + 484  [0x104fc4064]  vtkParsePreprocess.c:2134
                                              2534 preproc_evaluate_include  (in vtkWrapHierarchy) + 306  [0x104fc5372]  vtkParsePreprocess.c:2056
                                                2534 preproc_include_file  (in vtkWrapHierarchy) + 2319  [0x104fc7e0f]  vtkParsePreprocess.c:1997
                                                  2534 vtkParsePreprocess_HandleDirective  (in vtkWrapHierarchy) + 484  [0x104fc4064]  vtkParsePreprocess.c:2134
                                                    2534 preproc_evaluate_include  (in vtkWrapHierarchy) + 306  [0x104fc5372]  vtkParsePreprocess.c:2056
                                                      2534 preproc_include_file  (in vtkWrapHierarchy) + 2319  [0x104fc7e0f]  vtkParsePreprocess.c:1997
                                                        2534 vtkParsePreprocess_HandleDirective  (in vtkWrapHierarchy) + 484  [0x104fc4064]  vtkParsePreprocess.c:2134
                                                          2534 preproc_evaluate_include  (in vtkWrapHierarchy) + 506  [0x104fc543a]  vtkParsePreprocess.c:2068
                                                            2534 preproc_include_file  (in vtkWrapHierarchy) + 2319  [0x104fc7e0f]  vtkParsePreprocess.c:1997
                                                              2534 vtkParsePreprocess_HandleDirective  (in vtkWrapHierarchy) + 484  [0x104fc4064]  vtkParsePreprocess.c:2134
                                                                2534 preproc_evaluate_include  (in vtkWrapHierarchy) + 506  [0x104fc543a]  vtkParsePreprocess.c:2068
                                                                  2534 preproc_include_file  (in vtkWrapHierarchy) + 2319  [0x104fc7e0f]  vtkParsePreprocess.c:1997
                                                                    2534 vtkParsePreprocess_HandleDirective  (in vtkWrapHierarchy) + 484  [0x104fc4064]  vtkParsePreprocess.c:2134
                                                                      2534 preproc_evaluate_include  (in vtkWrapHierarchy) + 506  [0x104fc543a]  vtkParsePreprocess.c:2068
                                                                        976 preproc_include_file  (in vtkWrapHierarchy) + 2213,2227,...  [0x104fc7da5,0x104fc7db3,...]  vtkParsePreprocess.c:1989
                                                                        924 preproc_include_file  (in vtkWrapHierarchy) + 829,821  [0x104fc783d,0x104fc7835]  vtkParsePreprocess.c:1917
                                                                        320 preproc_include_file  (in vtkWrapHierarchy) + 2325  [0x104fc7e15]  vtkParsePreprocess.c:2000
                                                                        314 preproc_include_file  (in vtkWrapHierarchy) + 365,369  [0x104fc766d,0x104fc7671]  vtkParsePreprocess.c:1863







More information about the vtk-developers mailing list