Hmm..that linker error does seem faintly familiar. The
2.10 mangler is to blame; try applying the attached
patch to ghc-asm.prl (you'll probably have to do
this manually rather than with 'patch', but it
should hopefully be clear what changes are required.)
Having done so, you'll need to recompile "stuff".
I can't remember if this bug requires you to
recompile the 2.10 prelude; run 'nm' over the Prelude
archive (libHS.a) looking for the unbound data
section symbols to find out. If not, then you
'only' need to recompile whateve sources that showed up
the problem in the first place.
Perhaps others on this list have more pertinent info on
what to do to get ghc-{2,3,4}xx working successfully under
HPUX? It's been 2 years+ since I last tried to build ghc
on that platform.
--Sigbjorn
Arne Glenstrup <[EMAIL PROTECTED]> writes:
>
> Hi,
>
>
> Running the glorious ghc 2.10 on our glorious hp700pa1ux10, I
> was taken
> aback by the terrible and rather rude words:
>
> collect2: ld returned 1 exit status
> /usr/ccs/bin/ld: Unsatisfied symbols:
> PerformGC_wrapper (data)
> Ind_info (data)
> /usr/ccs/bin/ld: (Warning) Linker features were used that may not be
> supported in future releases. The +vallcompatwarnings option
> can be used
> to display more details, and the ld(1) man page contains additional
> information. This warning can be suppressed with the
> +vnocompatwarnings
> option.
>
> How do I again make my world a glorious place??? :-) :-) :-)
>
> --Arne
begin 600 hpux-2.10-patch
M*BHJ(&=H8R]D<FEV97(O9VAC+6%S;2YL<')L"3$Y.3<O,3`O,3<@,3$Z,#DZ
M-#0),2XQ-PT*+2TM(&=H8R]D<FEV97(O9VAC+6%S;2YL<')L"3$Y.3@O,#(O
M,C4@,3(Z-3DZ-34),2XQ.`T**BHJ*BHJ*BHJ*BHJ*BHJ#0HJ*[email protected]`L.30@
M*BHJ*@T*("`@("`@)%1?0T]065]$25)64R`@(#T@)UY<<RM<+BA)35!/4E1\
M15A03U)4*2<[#0H@(`T*(2`@("`@)%1?:'-C7V-C7U!!5"`@(#T@)UPN4U12
M24Y'+BI<*2AH<V-\8V,I("@N*BE<7%Q<>#`Y*"XJ*5Q<7%QX,#`G.PT*("`@
M("`@)%1?1$]47U=/4D0)("`@(#T@)UPN=V]R9"<[#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F
M;W(@=&AE('-Y;6)O;`T**R`)"2,@=&AA="!T:&4@<W1R:6YG('=A<R!A='1A
M8VAE9"!T;R!I;B!T:&4@9FER<W0@<&QA8V4@*&=H8U]C8U])1"XI#0HK(`D)
M(R`H5&AE(&]R:6=I;F%L('-T<FEN9R!I<R!A;'-O('-U8G-T:71U=&5D(&%W
M87DN*0T**R`)"2,-"BL@"0DC(%1H:7,@8VAA;F=E(&UA>2!A9F9E8W0@=&AE
M(&-O9&4@;W5T<'5T(&]N(&]T:&5R('!L871F;W)M<R!I;@T**R`)"2,@861V
M97)S92!W87ES+"!H96YC92!W92!R97-T<FEC="!T:&ES(&AA8VL@:'!P82!T
M87)G971S(&]N;'DN#0HK(`D)(PT**R`)"2,@("`@+2T@,B\Y."!33T8-"BL@
M"0EI9B`H("1487)G9710;&%T9F]R;2`]?B`O7FAP<&$O("D@('L-"BL@"0D)
M)&-H:ULD:5T@/7X@<R]>)%154UM`73]G:&,N*F-?240D5%!/4U1,0DPO)&-O
M;G-I<W0O;SL-"BL@"0D))&-H:ULD:5T@/7X@<R]<="147VAS8U]C8U]0050O
M)%1?2$127VUI<V,O;SL-"BL@"0D))&-O;G-I<W0@/2`D8VAK6R1I73L@(V-L
M=6US:6QY#0HK("`@("`@("`@("`@("`@("!]#0H@(`D)<')I;G0@3U5405--
M("147TA$4E]C;VYS:7-T+"`B)'MC;VYS:7-T?21[5%]03U-47TQ"3'U<;B([
�H@(`T*
`
end
RE: ghc 2.10/HPUX: PerformGC_wrapper unsatisfied symbol
Sigbjorn Finne (Intl Vendor) Sun, 24 Jan 1999 16:40:05 +0100 (MET)
- ghc 2.10/HPUX: PerformGC_wrapper unsatisfied ... Arne Glenstrup
- Sigbjorn Finne (Intl Vendor)
