public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/68081] New: Cygwin GCC cannot compile program that uses __builtin_ia32_rdseed64_step
@ 2015-10-24 20:38 noloader at gmail dot com
  2015-10-24 20:52 ` [Bug target/68081] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: noloader at gmail dot com @ 2015-10-24 20:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68081

            Bug ID: 68081
           Summary: Cygwin GCC cannot compile program that uses
                    __builtin_ia32_rdseed64_step
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: noloader at gmail dot com
  Target Milestone: ---

I'm testing on Cygwin64. Cygwin64 provides the 5.2.0 compiler.

Attempting to compile the following results in an error:

  $ cat rdseed.c
  #include <stdint.h>

  int main()
  {
    uint64_t val;
    __builtin_ia32_rdseed64_step(&val);
    return (int)val;
  }

The error is:

  $ gcc -mrdseed rdseed.c -o rdseed.exe
  ...
  rdseed.c:6:36: error: '__builtin_ia32_rdseed64_step' was not declared in this
scope.

The expected define appears to be defined:

  $ cpp -mrdseed -dM </dev/null | grep -i seed
  #define __RDSEED__ 1

The RDRAND equivalent compiles and executes.

-----

My apologies if this should be reported to Cygwin. I cannot find their bug
reporter. In fact, I can't even find a mailing list to discuss it. Their
mailing list page tells me where *not* to discuss or report bugs, but does not
state where to discuss or report them.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-04-03 10:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-24 20:38 [Bug c/68081] New: Cygwin GCC cannot compile program that uses __builtin_ia32_rdseed64_step noloader at gmail dot com
2015-10-24 20:52 ` [Bug target/68081] " pinskia at gcc dot gnu.org
2015-10-24 20:58 ` noloader at gmail dot com
2015-10-24 21:11 ` noloader at gmail dot com
2015-10-25  8:09 ` glisse at gcc dot gnu.org
2015-10-25 10:44 ` noloader at gmail dot com
2015-10-25 12:08 ` glisse at gcc dot gnu.org
2015-10-25 12:39 ` noloader at gmail dot com
2021-04-03 10:22 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).