Re: MSYS2 "noacl"

Teemu Nätkinniemi <stinkf42-/[email protected]> Fri, 22 Mar 2013 16:16:32 +0200
Newsgroups gmane.comp.gnu.mingw.devel
Message-ID <[email protected]>
On 22.3.2013 9:58, Teemu Nätkinniemi wrote:
> On 22.3.2013 9:42, Alexey Pavlov wrote:
>>
>> 22.03.2013, в 11:37, Buster Bluth <[email protected]> написал(а):
>>
>>> On 21.3.2013 16:58, Alexey Pavlov wrote:
>>>>
>>>> 21.03.2013, в 16:51, Earnie Boyd <[email protected]> написал(а):
>>>>
>>>>> Alexey,
>>>>>
>>>>> Make sure we allow only noacl in MSYS2 mount structure.  There is no
>>>>> reason for MSYS2 to do otherwise and will prevent a whole host of
>>>>> headaches for the users.
>>>>>
>>>> Ok.
>>>> Now I try to build Perl for MSYS2 but has some troubles...
>>>
>>> What kind of problems?
>>>
>> When linking Perl I have error:
>> undefined reference to 'boot_Win32CORE'
>> relocation truncated to fit: R_X86_64_PC32 against undefined symbol 'boot_Win32CORE'
>
> Have you compiled Win32CORE succesfully and does it actually have
> boot_Win32CORE. What version of Perl are you trying to compile?
>
> $ objdump -D /src/perl-5.14.4-RC2/ext/Win32CORE/Win32CORE.o | grep
> boot_Win32CORE

Ok, the problem lies with GCC, at least that's what I suspect. The same 
export compiled with Cygwin looks like this:

[ 26](sec  1)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x0000000000000580 
boot_Win32CORE

And MSYS2 version looks like this:

[ 26](sec  1)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x0000000000000580 
_Z14boot_Win32COREP11interpreterP2cv

So no wonder linking against this is not going to work. How to fix this? 
I have no idea at the moment.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
MinGW-dvlpr mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr