darcs

Issue 293 darcs-stable fails to link on osx/intel

Title darcs-stable fails to link on osx/intel
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List brett, darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy
Assigned To
Topics

Created on 2006-10-12.15:42:24 by brett, last changed 2009-08-27.13:49:16 by admin.

Messages
msg1069 (view) Author: brett Date: 2006-10-12.15:41:55
/usr/bin/ld: Undefined symbols:
_regexzmcompatzm0zi71_TextziRegex_a1_closure
_regexzmcompatzm0zi71_TextziRegex_a1_info
_regexzmcompatzm0zi71_TextziRegex_mkRegex_closure
_regexzmcompatzm0zi71_TextziRegex_mkRegex_info
_regexzmcompatzm0zi71_TextziRegex_lvl3_closure
_regexzmposixzm0zi71_TextziRegexziPosixziString_makeRegexOpts_closure
_regexzmposixzm0zi71_TextziRegexziPosixziString_makeRegexOpts_info
_regexzmposixzm0zi71_TextziRegexziPosixziWrap_execBlank_closure
collect2: ld returned 1 exit status

This is using GHC 6.4.2 or 6.6, and having installed regex-compat.

best,
brett
msg1070 (view) Author: kowey Date: 2006-10-12.19:15:05
Hi,

On Thu, Oct 12, 2006 at 15:42:25 +0000, Brett Eisenberg wrote:
> This is using GHC 6.4.2 or 6.6, and having installed regex-compat.

It compiles fine for me.  I'm using ghc-6.5.20060608.

Have you tried make clean by any chance?  Shot in the dark; everytime I
get one of these weird ld/closure thingies, a make clean solves the
problem.
msg1073 (view) Author: kowey Date: 2006-10-12.19:43:19
Spoke too soon.  I just upgraded to the official GHC 6.6 and now I can
reproduce the problem.

Tommy, I believe this is the patch you want (from unstable)

Wed Oct  4 14:31:58 CEST 2006  Josef Svenningsson <josef.svenningsson@gmail.com>
  * Look for Text.Regex in package regex-compat. Needed for GHC 6.6
msg1074 (view) Author: brett Date: 2006-10-12.20:09:44
Yep, multiple times.

Maybe there's something in 6.5 that didn't make it into 6.6 ? or the  
6.6 binary release for osx/intel is broken.

b

On Oct 12, 2006, at 3:15 PM, Eric Kow wrote:

>
> Eric Kow <eric.kow@gmail.com> added the comment:
>
> Hi,
>
> On Thu, Oct 12, 2006 at 15:42:25 +0000, Brett Eisenberg wrote:
>> This is using GHC 6.4.2 or 6.6, and having installed regex-compat.
>
> It compiles fine for me.  I'm using ghc-6.5.20060608.
>
> Have you tried make clean by any chance?  Shot in the dark;  
> everytime I
> get one of these weird ld/closure thingies, a make clean solves the
> problem.
>
> ----------
> status: unread -> chatting
>
> ____________________________________
> Darcs issue tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue293>
> ____________________________________
>
> !DSPAM:452e9456916031157644535!
>
msg1075 (view) Author: brett Date: 2006-10-12.20:10:36
oops...saw this too late ;)

sorry about the prior msg, and thanks for isolating the patch for me.

best,
brett

On Oct 12, 2006, at 3:43 PM, Eric Kow wrote:

>
> Eric Kow <eric.kow@gmail.com> added the comment:
>
> Spoke too soon.  I just upgraded to the official GHC 6.6 and now I can
> reproduce the problem.
>
> Tommy, I believe this is the patch you want (from unstable)
>
> Wed Oct  4 14:31:58 CEST 2006  Josef Svenningsson  
> <josef.svenningsson@gmail.com>
>   * Look for Text.Regex in package regex-compat. Needed for GHC 6.6
>
> ____________________________________
> Darcs issue tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue293>
> ____________________________________
>
> !DSPAM:452e9ae6964238165917270!
>
msg1086 (view) Author: tommy Date: 2006-10-13.17:04:45
> Tommy, I believe this is the patch you want (from unstable)
> 
> Wed Oct  4 14:31:58 CEST 2006  Josef Svenningsson <josef.svenningsson@gmail.com>
>   * Look for Text.Regex in package regex-compat. Needed for GHC 6.6

Got it!
msg1768 (view) Author: tommy Date: 2007-06-29.19:41:49
fixed in 1.0.9
History
Date User Action Args
2006-10-12 15:42:24brettcreate
2006-10-12 19:15:16koweysetstatus: unread -> unknown
nosy: droundy, tommy, kowey, brett
messages: + msg1070
2006-10-12 19:43:21koweysetnosy: droundy, tommy, kowey, brett
messages: + msg1073
2006-10-12 20:09:51brettsetnosy: droundy, tommy, kowey, brett
messages: + msg1074
2006-10-12 20:10:49brettsetnosy: droundy, tommy, kowey, brett
messages: + msg1075
2006-10-13 17:04:50tommysetnosy: droundy, tommy, kowey, brett
messages: + msg1086
2006-11-17 12:54:11tommysetstatus: unknown -> resolved-in-stable
nosy: droundy, tommy, kowey, brett
2007-06-29 19:41:49tommysetstatus: resolved-in-stable -> resolved
nosy: + beschmi
messages: + msg1768
2009-08-06 17:48:32adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, brett
2009-08-06 20:52:16adminsetnosy: - beschmi
2009-08-10 21:56:38adminsetnosy: + brett, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 18:00:23adminsetnosy: + darcs-devel, - simon
2009-08-27 13:49:16adminsetnosy: tommy, kowey, darcs-devel, brett, thorkilnaur, dmitry.kurochkin