Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #33924] [PATCH] Build on Win32 with MinGW

15 views
Skip to first unread message

François PERRAD)

unread,
Jan 25, 2005, 4:17:09 AM1/25/05
to bugs-bi...@rt.perl.org
# New Ticket Created by François PERRAD
# Please include the string: [perl #33924]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=33924 >

I add some informations about building with MinGW32 in the file "README.win32".

With default configuration, the build process is OK.
The tests fail in NCI and System parts (see details in attached file
test.err) :

Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/pmc/nci.t 42 10752 46 42 91.30% 1-2 4-43
t/pmc/sys.t 1 256 1 1 100.00% 1

With --gc=malloc (or --gc=malloc-trace), an error occurs during compiling
of src/malloc.c :
src/malloc.c:637: conflicting types for `sbrk'
src/malloc.c:270: previous declaration of `sbrk'
After a small patch, what's build.

François Perrad

README.win32.patch
test.err
malloc.c.patch

Leopold Toetsch

unread,
Jan 26, 2005, 5:59:55 AM1/26/05
to perl6-i...@perl.org
François" PERRAD <parrotbug...@parrotcode.org> wrote:

> I add some informations about building with MinGW32 in the file
> "README.win32".

> With --gc=malloc [ ... ] After a small patch, what's build.

Thanks, applied.

> # Failed test (t/pmc/nci.t at line 36)
> # got: 'loaded
> # dlfunced
> # nok 1
> # 4.000000
> # '
> # expected: 'loaded
> # dlfunced
> # ok 1
> # ok 2

Strange. Can you trace through these failing tests with a debugger?

leo

0 new messages