* Mac Intel Leopard guile 1.8.4 link fails
@ 2008-02-20 11:30 Roger Mc Murtrie
2008-02-24 9:53 ` Neil Jerram
0 siblings, 1 reply; 8+ messages in thread
From: Roger Mc Murtrie @ 2008-02-20 11:30 UTC (permalink / raw)
To: bug-guile
Mac OSX 10.5.2
./configure
make
Link failed at
gcc -dynamiclib -o .libs/libguile.17.1.2.dylib .....
ld: warning codegen in ___gmpn_popcount (offset 0x00000007) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_popcount (offset 0x0000000E) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_popcount (offset 0x00000015) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_hamdist (offset 0x00000007) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_hamdist (offset 0x0000000E) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_hamdist (offset 0x00000015) prevents
image from loading in dyld shared cache
ld: absolute addressing (perhaps -mdynamic-no-pic) used in
___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in
slidable image
collect2: ld returned 1 exit status
make[3]: *** [libguile.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Mac Intel Leopard guile 1.8.4 link fails
2008-02-20 11:30 Mac Intel Leopard guile 1.8.4 link fails Roger Mc Murtrie
@ 2008-02-24 9:53 ` Neil Jerram
2008-02-24 12:14 ` Roger Mc Murtrie
0 siblings, 1 reply; 8+ messages in thread
From: Neil Jerram @ 2008-02-24 9:53 UTC (permalink / raw)
To: Roger Mc Murtrie; +Cc: bug-guile
Roger Mc Murtrie <rogermc@iinet.net.au> writes:
> Mac OSX 10.5.2
>
> ./configure
> make
>
> Link failed at
> gcc -dynamiclib -o .libs/libguile.17.1.2.dylib .....
>
> ld: warning codegen in ___gmpn_popcount (offset 0x00000007) prevents
> image from loading in dyld shared cache
> ld: warning codegen in ___gmpn_popcount (offset 0x0000000E) prevents
> image from loading in dyld shared cache
> ld: warning codegen in ___gmpn_popcount (offset 0x00000015) prevents
> image from loading in dyld shared cache
> ld: warning codegen in ___gmpn_hamdist (offset 0x00000007) prevents
> image from loading in dyld shared cache
> ld: warning codegen in ___gmpn_hamdist (offset 0x0000000E) prevents
> image from loading in dyld shared cache
> ld: warning codegen in ___gmpn_hamdist (offset 0x00000015) prevents
> image from loading in dyld shared cache
> ld: absolute addressing (perhaps -mdynamic-no-pic) used in
> ___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in
> slidable image
> collect2: ld returned 1 exit status
> make[3]: *** [libguile.la] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
Hi Roger,
Thanks for reporting this. I was just wondering if this is a
regression since 1.8.3 - i.e. a problem that we've introduced by
something between 1.8.3 and 1.8.4.
As far as I remember, the 1.8.3 Leopard build was blocked by "64" API
problems, but I think you managed to work around those. If you can
still remember, did the build then complete?
If it did complete, I guess this must be a regression.
Regards,
Neil
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Mac Intel Leopard guile 1.8.4 link fails
2008-02-24 9:53 ` Neil Jerram
@ 2008-02-24 12:14 ` Roger Mc Murtrie
0 siblings, 0 replies; 8+ messages in thread
From: Roger Mc Murtrie @ 2008-02-24 12:14 UTC (permalink / raw)
To: Neil Jerram; +Cc: bug-guile
On 24/02/2008, at 8:53 PM, Neil Jerram wrote:
> Roger Mc Murtrie <rogermc@iinet.net.au> writes:
>
>> Mac OSX 10.5.2
>>
>> ./configure
>> make
>>
>> Link failed at
>> gcc -dynamiclib -o .libs/libguile.17.1.2.dylib .....
>>
>> ld: warning codegen in ___gmpn_popcount (offset 0x00000007) prevents
>> image from loading in dyld shared cache
>> ld: warning codegen in ___gmpn_popcount (offset 0x0000000E) prevents
>> image from loading in dyld shared cache
>> ld: warning codegen in ___gmpn_popcount (offset 0x00000015) prevents
>> image from loading in dyld shared cache
>> ld: warning codegen in ___gmpn_hamdist (offset 0x00000007) prevents
>> image from loading in dyld shared cache
>> ld: warning codegen in ___gmpn_hamdist (offset 0x0000000E) prevents
>> image from loading in dyld shared cache
>> ld: warning codegen in ___gmpn_hamdist (offset 0x00000015) prevents
>> image from loading in dyld shared cache
>> ld: absolute addressing (perhaps -mdynamic-no-pic) used in
>> ___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in
>> slidable image
>> collect2: ld returned 1 exit status
>> make[3]: *** [libguile.la] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>
> Hi Roger,
>
> Thanks for reporting this. I was just wondering if this is a
> regression since 1.8.3 - i.e. a problem that we've introduced by
> something between 1.8.3 and 1.8.4.
>
> As far as I remember, the 1.8.3 Leopard build was blocked by "64" API
> problems, but I think you managed to work around those. If you can
> still remember, did the build then complete?
>
> If it did complete, I guess this must be a regression.
>
> Regards,
> Neil
Hi Neil,
We ended up building 1.8.3 successfully with Leopard using ./
configure without any switches etc.
The 64 problem was avoided, I think, by not defining HAVE_STAT64 in
the config.h.in file:
/* Define to 1 if you have the `stat64' function. */
/* #undef HAVE_STAT64 */
The generated 1.8.3 then contained
/* Define to 1 if you have the `stat64' function. */
/* #undef HAVE_STAT64 */
The supplied 1.8.4 config.h.in file has
/* Define to 1 if you have the `stat64' function. */
#undef HAVE_STAT64
and
/* Define to 1 in order to try to use "64" versions of system and
library
calls. */
#undef GUILE_USE_64_CALLS
which I seem to recall had to do with a proposed solution for Mac OSX?
But the 1.8.4 config.h has
/* Define to 1 if you have the `stat64' function. */
#define HAVE_STAT64 1
I tried running autoconf but configure still generated a config.h with
#define HAVE_STAT64 1
I'll try changing config.h to
#undef HAVE_STAT64
I'll let ypu know the result.
Fortunately, I still have the 1.8.3 build files.
Regards
Roger
^ permalink raw reply [flat|nested] 8+ messages in thread
* FW: Mac Intel Leopard guile 1.8.4 link fails
@ 2008-02-23 19:57 Neil Jerram
2008-02-25 10:43 ` Torbjorn Granlund
2008-02-26 13:14 ` Hans Aberg
0 siblings, 2 replies; 8+ messages in thread
From: Neil Jerram @ 2008-02-23 19:57 UTC (permalink / raw)
To: gmp-bugs; +Cc: bug-guile
Hi there!
Guile uses GMP as you may know, and one of our MacOS users has
reported the following link error, which appears to be related to GMP.
ld: warning codegen in ___gmpn_popcount (offset 0x00000007) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_popcount (offset 0x0000000E) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_popcount (offset 0x00000015) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_hamdist (offset 0x00000007) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_hamdist (offset 0x0000000E) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_hamdist (offset 0x00000015) prevents
image from loading in dyld shared cache
ld: absolute addressing (perhaps -mdynamic-no-pic) used in
___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in
slidable image
collect2: ld returned 1 exit status
Can you help us understand and/or fix this?
Thanks,
Neil
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: FW: Mac Intel Leopard guile 1.8.4 link fails
2008-02-23 19:57 FW: " Neil Jerram
@ 2008-02-25 10:43 ` Torbjorn Granlund
2008-02-25 21:39 ` Neil Jerram
2008-02-26 13:14 ` Hans Aberg
1 sibling, 1 reply; 8+ messages in thread
From: Torbjorn Granlund @ 2008-02-25 10:43 UTC (permalink / raw)
To: Neil Jerram; +Cc: bug-guile, gmp-bugs
There is nothing a poor GMP developer can do about a bug report
like this.
Neil Jerram <neil@ossau.uklinux.net> writes:
Hi there!
Guile uses GMP as you may know, and one of our MacOS users has
reported the following link error, which appears to be related to GMP.
ld: warning codegen in ___gmpn_popcount (offset 0x00000007) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_popcount (offset 0x0000000E) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_popcount (offset 0x00000015) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_hamdist (offset 0x00000007) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_hamdist (offset 0x0000000E) prevents
image from loading in dyld shared cache
ld: warning codegen in ___gmpn_hamdist (offset 0x00000015) prevents
image from loading in dyld shared cache
ld: absolute addressing (perhaps -mdynamic-no-pic) used in
___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in
slidable image
collect2: ld returned 1 exit status
Can you help us understand and/or fix this?
If you file a proper bug report, with all the facts and with a test
case, then we can perhaps help.
http://gmplib.org/manual/Reporting-Bugs.html
--
Torbjörn
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: FW: Mac Intel Leopard guile 1.8.4 link fails
2008-02-25 10:43 ` Torbjorn Granlund
@ 2008-02-25 21:39 ` Neil Jerram
2008-02-25 22:07 ` Roger Mc Murtrie
0 siblings, 1 reply; 8+ messages in thread
From: Neil Jerram @ 2008-02-25 21:39 UTC (permalink / raw)
To: Torbjorn Granlund; +Cc: bug-guile, gmp-bugs
Torbjorn Granlund <tg@swox.com> writes:
> If you file a proper bug report, with all the facts and with a test
> case, then we can perhaps help.
>
> http://gmplib.org/manual/Reporting-Bugs.html
That's fair enough. I guess I was hoping that this was something
you've seen before, and so could throw some light on without a "proper
bug report".
Given that it isn't, we'll work on the proper reporting!
Regards,
Neil
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Mac Intel Leopard guile 1.8.4 link fails
2008-02-25 21:39 ` Neil Jerram
@ 2008-02-25 22:07 ` Roger Mc Murtrie
2008-02-26 8:31 ` Neil Jerram
0 siblings, 1 reply; 8+ messages in thread
From: Roger Mc Murtrie @ 2008-02-25 22:07 UTC (permalink / raw)
To: Neil Jerram; +Cc: bug-guile
Hi Neil.
I wonder if its got something to do with my GMP version:
/usr/local/lib/libgmp.3.4.2.dylib
Regards
Roger
On 26/02/2008, at 8:39 AM, Neil Jerram wrote:
> Torbjorn Granlund <tg@swox.com> writes:
>
>> If you file a proper bug report, with all the facts and with a test
>> case, then we can perhaps help.
>>
>> http://gmplib.org/manual/Reporting-Bugs.html
>
> That's fair enough. I guess I was hoping that this was something
> you've seen before, and so could throw some light on without a "proper
> bug report".
>
> Given that it isn't, we'll work on the proper reporting!
>
> Regards,
> Neil
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Mac Intel Leopard guile 1.8.4 link fails
2008-02-23 19:57 FW: " Neil Jerram
2008-02-25 10:43 ` Torbjorn Granlund
@ 2008-02-26 13:14 ` Hans Aberg
1 sibling, 0 replies; 8+ messages in thread
From: Hans Aberg @ 2008-02-26 13:14 UTC (permalink / raw)
To: Neil Jerram; +Cc: bug-guile, gmp-bugs
On 23 Feb 2008, at 20:57, Neil Jerram wrote:
> Guile uses GMP as you may know, and one of our MacOS users has
> reported the following link error, which appears to be related to GMP.
Have you tried Guile 1.8.1 in MacPorts? - It seems to work on PPC G4.
Hans Aberg
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-03-03 22:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 11:30 Mac Intel Leopard guile 1.8.4 link fails Roger Mc Murtrie
2008-02-24 9:53 ` Neil Jerram
2008-02-24 12:14 ` Roger Mc Murtrie
-- strict thread matches above, loose matches on Subject: below --
2008-02-23 19:57 FW: " Neil Jerram
2008-02-25 10:43 ` Torbjorn Granlund
2008-02-25 21:39 ` Neil Jerram
2008-02-25 22:07 ` Roger Mc Murtrie
2008-02-26 8:31 ` Neil Jerram
[not found] ` <01FE054A-13D0-4FCC-B351-57AA0128BAEB@iinet.net.au>
2008-02-27 22:38 ` Roger Mc Murtrie
2008-03-03 22:26 ` Neil Jerram
2008-02-26 13:14 ` Hans Aberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).