#4973: building ghc7.0.1.20110217 under x86 solaris fails
----------------------------------+-----------------------------------------
  Reporter:  maeder               |          Owner:         
      Type:  bug                  |         Status:  new    
  Priority:  highest              |      Milestone:  7.0.2  
 Component:  Compiler             |        Version:  7.0.1  
Resolution:                       |       Keywords:         
  Testcase:                       |      Blockedby:         
Difficulty:                       |             Os:  Solaris
  Blocking:                       |   Architecture:  x86    
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------

Comment(by kgardas):

 Replying to [comment:14 maeder]:
 > Btw, during building I get 5313 "ignored" warnings, the firsts are:
 >
 > {{{
 > "inplace/bin/ghc-stage1" -optc-Wall -optc-Wextra -optc-Wstrict-
 prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-
 Winline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-
 noreturn -optc-Wnested-externs -optc-Wredundant-decls -optc-includes
 -optc-Irts -optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common
 -optc-Ilibffi/build/include -optc-fomit-frame-pointer -optc-
 DRtsWay=\"rts_v\"   -H32m -O -Iincludes -Irts -DCOMPILING_RTS -package-
 name rts  -dcmm-lint  -Ilibffi/build/include     -i -irts -irts/dist/build
 -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen
 -optc-O2   -c rts/STM.c -o rts/dist/build/STM.o
 > rts/STM.c: In function 'stmPreGCHook':
 >
 > rts/STM.c:894:0:
 >      warning: visibility attribute not supported in this configuration;
 ignored
 > rts/STM.c: In function 'stmFreeAbortedTRec':
 >
 > rts/STM.c:1002:0:
 >      warning: visibility attribute not supported in this configuration;
 ignored
 > rts/STM.c: In function 'stmCondemnTransaction':
 > ...
 > }}}

 What GCC are you using? Here with GCC 3.4.3 (csl-sol210-3_4-20050802) as
 bundled with Solaris 11 Express I don't see those warnings since it's too
 old (the compiler) to support any visibility functionality. My guess is
 you are using some newer GCC probably...

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4973#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to