[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: thread model for mxe-octave build
From: |
John W. Eaton |
Subject: |
Re: thread model for mxe-octave build |
Date: |
Sat, 24 Feb 2018 10:52:30 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 02/23/2018 10:08 AM, John W. Eaton wrote:
On 02/23/2018 09:57 AM, JohnD wrote:
Not sure what part of the gcc install that is, but the mxe version of
gcc.mk compiles posix threads as part of gcc.mk, before building the
'rest of gcc'
And then all their pthreads.mk does is install a package config file
for it
Ah, OK, thanks. I'll take a look at that and see if I can adapt it to
the build-gcc.mk file in mxe-octave.
I looked at the current MXE it allows building a cross compiler for
Windows with posix threads and the build seems to work. So I tried to
adapt their rules to mxe-octave. I pushed changeset to provide a macro
for unpacking and patching an archive, then I tried the attached diffs
for src/build-gcc.mk and building that is failing with a series for
messages like this when linking libgcc_s.a:
DIR/usr/bin/x86_64-w64-mingw32-ld: skipping incompatible
DIR/usr/x86_64-w64-mingw32/lib/libpthread.dll.a when searching for -lpthread
DIR/usr/bin/x86_64-w64-mingw32-ld: skipping incompatible
DIR/usr/mingw/lib/libpthread.dll.a when searching for -lpthread
DIR/usr/bin/x86_64-w64-mingw32-ld: skipping incompatible
DIR/usr/x86_64-w64-mingw32/lib/libpthread.dll.a when searching for -lpthread
DIR/usr/bin/x86_64-w64-mingw32-ld: skipping incompatible
DIR/usr/mingw/lib/libpthread.dll.a when searching for -lpthread
DIR/usr/bin/x86_64-w64-mingw32-ld: skipping incompatible
DIR/usr/x86_64-w64-mingw32/lib/libpthread.dll.a when searching for -lpthread
DIR/usr/bin/x86_64-w64-mingw32-ld: skipping incompatible
DIR/usr/mingw/lib/libpthread.dll.a when searching for -lpthread
DIR/usr/bin/x86_64-w64-mingw32-ld: skipping incompatible
DIR/usr/x86_64-w64-mingw32/lib/libpthread.dll.a when searching for -lpthread
DIR/usr/bin/x86_64-w64-mingw32-ld: skipping incompatible
DIR/usr/mingw/lib/libpthread.dll.a when searching for -lpthread
DIR/usr/bin/x86_64-w64-mingw32-ld: cannot find -lpthread
I'm not sure whether this is due to multilib or that we are creating
links like
usr/mingw -> DIR/usr/x86_64-w64-mingw32
when building. It seems we have built up a lot of special cases of
creating directories (lib, lib3, lib64) and links that may no longer be
valid?
jwe
diffs.txt
Description: Text document
- thread model for mxe-octave build, John W. Eaton, 2018/02/22
- Re: thread model for mxe-octave build, Daniel J Sebald, 2018/02/22
- RE: thread model for mxe-octave build, JohnD, 2018/02/22
- Re: thread model for mxe-octave build, John W. Eaton, 2018/02/23
- RE: thread model for mxe-octave build, JohnD, 2018/02/23
- Re: thread model for mxe-octave build, John W. Eaton, 2018/02/23
- Re: thread model for mxe-octave build,
John W. Eaton <=
- Re: thread model for mxe-octave build, John Donoghue, 2018/02/24
- RE: thread model for mxe-octave build, JohnD, 2018/02/25
- Re: thread model for mxe-octave build, John W. Eaton, 2018/02/26
- Re: thread model for mxe-octave build, John W. Eaton, 2018/02/26
- RE: thread model for mxe-octave build, JohnD, 2018/02/27
- RE: thread model for mxe-octave build, JohnD, 2018/02/27
- RE: thread model for mxe-octave build, JohnD, 2018/02/28
- Re: thread model for mxe-octave build, John W. Eaton, 2018/02/28