Using g++ and -m32 option on x86_64 broken

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Jul 1 12:27:00 GMT 2015


On Jul  1 06:59, Jeffrey Walton wrote:
> On Wed, Jul 1, 2015 at 4:29 AM, Corinna Vinschen
> <corinna-cygwin@cygwin.com> wrote:
> > Hi Jeffrey,
> >
> > On Jun 30 21:38, Jeffrey Walton wrote:
> >> Cygwin's GCC responds to the -m32 option, but it causes a compile error:
> >>
> >>    expected unqualified-id before ‘__int128’
> >>        inline __int128
> >>
> >> If the project does not support the -m32 option, then it should be
> >> removes so that using it causes a compile error.
> >>
> >> Below is the changed needed to get through the compile with -m32:
> >>
> >> $ diff /usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/x86_64-pc-cygwin/bits/c++config.h
> >> /usr/lib/gcc/x86_64-pc-cygwin/4.9.2/include/c++/x86_64-pc-cygwin/bits/c++config.h.bu
> >> 1306,1308c1306
> >> < #ifndef __CYGWIN32__      /* -m32 used on x86_64 */
> >> < # define _GLIBCXX_USE_INT128 1
> >> < #endif
> >> ---
> >> > #define _GLIBCXX_USE_INT128 1
> >>
> >> ************
> >
> > Wrong mailing list.  cygwin-patches is for patches to the Cygwin
> > sources, not patches to arbitrary packages in the Cygwin distro.
> > See https://cygwin.com/lists.html
> 
> Yes, you got a patch.

Again, cygwin-patches is for patches to the cygwin DLL, not for GCC
patches.  I'm politely telling you that you're sending your report to
the wrong address so please send you request where it belongs.

> > If you want to reach out to Cygwin package maintainers [GCC maintainer
> > BCCed], use the cygwin AT cygwin DOT com mailing list.  If you want to
> > report the bug to the GCC folks, see https://gcc.gnu.org/bugs/
> 
> No, I used Cygwin's package, and that makes it Cygwin's problem.

Even then, this doesnt make it an issue for the cygwin-patches ML.

> >> And this project really needs a bug tracker...
> >
> > As for -m32, it's not supported for a reason.
> 
> No, GCC responds to it. If you don't support it, then take it out and
> produce a compile error.

You seem to misunderstand how this works.  The package maintainers of
the various Cygwin packages are not subscribed to cygwin-patches.  This
mailing list servers only the purpose to send patches for the Cygwin DLL
and accompanying tools, as outlined on https://cygwin.com/lists.html.
So, if you want to reach out to the Cygwin GCC maintainer, please send
your request to the cygwin AT cygwin DOT com mailing list, as outlined
on https://cygwin.com/lists.html.  Insisting on using the wrong mailing
list will not really help to move your complaint forward in the long
run.

So, please don't follow up on cygwin-patches, it's the wrong addressee.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20150701/71db279d/attachment.sig>


More information about the Cygwin-patches mailing list