| 
Created on 2008-07-28.03:11:24 by iain, last changed 2009-08-27.14:22:42 by admin. 
 
  
   | msg5273 (view) | Author: iain | Date: 2008-07-28.03:11:12 |  |  
   | Hi,
On Ubuntu 8.10 with binutils trunk snapshot from 20080707, Darcs fails
to build due to errors with the flags passed to gcc for compilation and
linking, specifically that -g is passed at both phases. Upstream bug at
[0].  I'm not sure whether this is a problem with darcs's build system
or with GHC, however.
A buildlog for darcs-2.0.0 (same error occurs with .2) can be found at [1].
I'd be grateful if anyone could point me to the right place to make this
change, or let me know if it is indeed a GHC problem and out of darcs's
control - this stuff is a bit foreign to me.
Thanks all,
Iain
[0] http://sourceware.org/bugzilla/show_bug.cgi?id=6656
[1]
http://launchpadlibrarian.net/15404312/buildlog_ubuntu-intrepid-i386.darcs_2.0.0-5~ppa0_FAILEDTOBUILD.txt.gz |  
   | msg5276 (view) | Author: kowey | Date: 2008-07-28.10:10:19 |  |  
   | I'm afraid I do not know what to suggest, or who to send you to.
I do not see a -g in my autoconf.mk (Ubuntu 8.04), do you?  I suppose the right
place to make this sort of change would be in configure.ac (or maybe in
autoconf.mk.in?)
Ian (Lynagh): is this something I could ask you to comment on?
Iain (Lane): if it helps, there is also the GHC trac on
http://hackage.haskell.org/trac/ghc |  
   | msg5277 (view) | Author: igloo | Date: 2008-07-28.16:25:18 |  |  
   | That build log hides the GHC commandline, so I've got no idea what's going on.
Thanks
Ian |  
   | msg5278 (view) | Author: kowey | Date: 2008-07-28.16:31:49 |  |  
   | Iain: could you try
  make VERBOSE=1
so that Ian could have an idea what is going on? |  
   | msg5280 (view) | Author: iain | Date: 2008-07-28.17:39:31 |  |  
   | Eric Kow wrote:
> Eric Kow <eric.kow@gmail.com> added the comment:
> 
> Iain: could you try
>   make VERBOSE=1
> 
> so that Ian could have an idea what is going on?
> 
Certainly. I've uploaded a new buildlog to [0].
HTH, Iain
[0] http://orangesquash.org.uk/~laney/ftbfs_darcs |  
   | msg5281 (view) | Author: igloo | Date: 2008-07-28.17:47:39 |  |  
   | OK, so darcs is passing both -optc-g and -opta-g (twice each, in fact) to GHC.
So it looks like the problem's coming from darcs' build system.
Thanks
Ian |  
   | msg5286 (view) | Author: iain | Date: 2008-08-05.21:45:32 |  |  
   | Ian Lynagh wrote:
> Ian Lynagh <igloo@earth.li> added the comment:
> 
> OK, so darcs is passing both -optc-g and -opta-g (twice each, in fact) to GHC.
> So it looks like the problem's coming from darcs' build system.
> 
> Thanks
> Ian
> 
> ----------
> nosy:  -iain
> 
Regardless, this problem has now been fixed by binutils upstream[0]. It
might still be a good idea for darcs to play nice too, though.
Thanks,
Iain
[0] http://sourceware.org/ml/binutils-cvs/2008-08/msg00027.html |  
   | msg8085 (view) | Author: kowey | Date: 2009-08-11.14:13:31 |  |  
   | I assume this is resolved by our switching to Cabal to build everything.  Please
let me know if this is not the case |  |
 
| Date | User | Action | Args |  | 2008-07-28 03:11:25 | iain | create |  |  | 2008-07-28 09:45:07 | kowey | link | issue975 superseder |  | 2008-07-28 10:10:22 | kowey | set | priority: bug nosy:
  + igloo, kowey
 status: unread -> unknown
 messages:
  + msg5276
 |  | 2008-07-28 16:25:21 | igloo | set | nosy:
  tommy, beschmi, kowey, dagit, igloo, iain messages:
  + msg5277
 |  | 2008-07-28 16:31:53 | kowey | set | status: unknown -> waiting-for nosy:
  + iain
 messages:
  + msg5278
 assignedto: iain
 |  | 2008-07-28 17:39:35 | iain | set | nosy:
  tommy, beschmi, kowey, dagit, igloo, iain, iain messages:
  + msg5280
 |  | 2008-07-28 17:47:42 | igloo | set | nosy:
  - iain messages:
  + msg5281
 |  | 2008-08-05 21:45:37 | iain | set | nosy:
  tommy, beschmi, kowey, dagit, igloo, iain messages:
  + msg5286
 |  | 2008-09-20 14:42:34 | admin | set | assignedto: iain -> iain nosy:
  + iain, simon
 |  | 2009-08-06 21:10:05 | admin | set | nosy:
  + dmitry.kurochkin, thorkilnaur, - beschmi |  | 2009-08-11 00:19:33 | admin | set | nosy:
  - dagit |  | 2009-08-11 14:13:35 | kowey | set | status: waiting-for -> resolved nosy:
  - iain
 topic:
  + Devel
 messages:
  + msg8085
 |  | 2009-08-25 17:18:34 | admin | set | nosy:
  + darcs-devel, - igloo |  | 2009-08-25 17:24:58 | admin | set | nosy:
  - simon |  | 2009-08-27 14:22:42 | admin | set | nosy:
  tommy, kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, iain | 
 |