Cross build of newlib-cygwin release tag cygwin-2_11_1-release.

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Oct 30 20:32:00 GMT 2018


On Oct 30 16:01, Earnest Boyd wrote:
> On 10/30/2018 3:31 PM, cyg Simple wrote:
> > On 10/30/2018 11:03 AM, cyg Simple wrote:
> >> PING... Does no one have an idea?
> >>
> >> On 10/29/2018 12:09 PM, cyg Simple wrote:
> >>> I'm trying to cross build the Cygwin source on a VirtualBox Arch Linux
> >>> with GCC-7.3.0 and Binutils 2.31. The process I am using clones the
> >>> master repository and then does a checkout of the release tag.  Here is
> >>> the configure command from the head of the config.log.
> >>>
> >>> ```
> >>> $ head /home/cygsimple/src/sf/build/newlib-cygwin/build/config.log |
> >>> grep newlib-cygwin-2.11.1/configure
> >>> $
> >>> /home/cygsimple/src/sf/build/newlib-cygwin/src/newlib-cygwin-2.11.1/configure
> >>> --prefix=/usr --host=x86_64-pc-cygwin --build=x86_64-pc-linux-gnu
> >>> --target=x86_64-pc-cygwin --sysconfdir=/etc --sharedstatedir=/var
> >>> --localstatedir=/var
> >>> ```
> >>>
> > 
> > I tried this on the master Cygwin and get the same error.
> > 
> > ```
> > $ head config.log | grep newlib-cygwin
> >   $
> > /usr/local/src/cygsimple/sf/build/newlib-cygwin/src/newlib-cygwin-2.11.1/configure
> > --prefix=/usr --host=x86_64-pc-cygwin --build=x86_64-pc-cygwin
> > --target=x86_64-pc-cygwin --sysconfdir=/etc --sharedstatedir=/var
> > --localstatedir=/var
> > ```
> > 
> > What configuration item should I add to avoid this?
> > 
> 
> Patching winsup/cygwin/Makefile.in to remove -Werror allows this to
> build though the warnings continue.  But how does Corinna do this?

No special settings.  But this:

> >>> c++wrap -pedantic -fomit-frame-pointer -m64 -O2 -g -fno-rtti
              ^^^^^^^^^                      ^^^^
Looks weird.  We don't use neither pedantic nor m64 and from the above
it seems you didn't specify them explicitely either.  So where are they
coming from?  "pedantic" may explain the error.  What linux-cygwin cross
gcc are you using?  Looks like you're not using the right one.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20181030/353ceb61/attachment.sig>


More information about the Cygwin mailing list