public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105851] New: Error: "Duplicate key positions selected" when recreating cfns.h
@ 2022-06-05  2:37 qcorba at gmail dot com
  2022-06-05  2:45 ` [Bug c++/105851] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: qcorba at gmail dot com @ 2022-06-05  2:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105851
           Summary: Error: "Duplicate key positions selected" when
                    recreating cfns.h
           Product: gcc
           Version: 5.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: qcorba at gmail dot com
  Target Milestone: ---

Below patch was applied to my gcc-5.3.0 build:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ec1cc0263f156f70693a62cf17b254a0029f4852

I tried to recreate cfns.h using:
$ gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L C++ cfns.gperf cfns.h

But got error: Duplicate key positions selected

It would be successful if the key is changed to '1-6,$'.

Please check.

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

* [Bug c++/105851] Error: "Duplicate key positions selected" when recreating cfns.h
  2022-06-05  2:37 [Bug c++/105851] New: Error: "Duplicate key positions selected" when recreating cfns.h qcorba at gmail dot com
@ 2022-06-05  2:45 ` pinskia at gcc dot gnu.org
  2022-06-05  3:10 ` qcorba at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-06-05  2:45 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-06-05

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC 5.x is no longer maintained. Does this work in GCC 10 or above?  GCC 10 is
the oldest release which is still being maintained.

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

* [Bug c++/105851] Error: "Duplicate key positions selected" when recreating cfns.h
  2022-06-05  2:37 [Bug c++/105851] New: Error: "Duplicate key positions selected" when recreating cfns.h qcorba at gmail dot com
  2022-06-05  2:45 ` [Bug c++/105851] " pinskia at gcc dot gnu.org
@ 2022-06-05  3:10 ` qcorba at gmail dot com
  2022-06-05  6:19 ` schwab@linux-m68k.org
  2022-06-05 12:22 ` qcorba at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: qcorba at gmail dot com @ 2022-06-05  3:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Eric Tang <qcorba at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> GCC 5.x is no longer maintained. Does this work in GCC 10 or above?  GCC 10
> is the oldest release which is still being maintained.

I checked that file Make-lang.in in master and releases/gcc-10 branches having
the wrong key. Please let me know if I should change to an appropriate version
to get this resolved.

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

* [Bug c++/105851] Error: "Duplicate key positions selected" when recreating cfns.h
  2022-06-05  2:37 [Bug c++/105851] New: Error: "Duplicate key positions selected" when recreating cfns.h qcorba at gmail dot com
  2022-06-05  2:45 ` [Bug c++/105851] " pinskia at gcc dot gnu.org
  2022-06-05  3:10 ` qcorba at gmail dot com
@ 2022-06-05  6:19 ` schwab@linux-m68k.org
  2022-06-05 12:22 ` qcorba at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2022-06-05  6:19 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
$$ is makefile quoting, you need to resolve the quoting manually if you want to
run the command outside of make.

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

* [Bug c++/105851] Error: "Duplicate key positions selected" when recreating cfns.h
  2022-06-05  2:37 [Bug c++/105851] New: Error: "Duplicate key positions selected" when recreating cfns.h qcorba at gmail dot com
                   ` (2 preceding siblings ...)
  2022-06-05  6:19 ` schwab@linux-m68k.org
@ 2022-06-05 12:22 ` qcorba at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: qcorba at gmail dot com @ 2022-06-05 12:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Eric Tang <qcorba at gmail dot com> ---
(In reply to Andreas Schwab from comment #3)
> $$ is makefile quoting, you need to resolve the quoting manually if you want
> to run the command outside of make.

Is there a means to check that?

I removed cfns.h and configured with --enable-maintainer-mode but the header
file was not recreated and build failed with:
../.././gcc/cp/except.c:1023:18: fatal error: cfns.h: No such file or directory
compilation terminated.

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

end of thread, other threads:[~2022-06-05 12:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-05  2:37 [Bug c++/105851] New: Error: "Duplicate key positions selected" when recreating cfns.h qcorba at gmail dot com
2022-06-05  2:45 ` [Bug c++/105851] " pinskia at gcc dot gnu.org
2022-06-05  3:10 ` qcorba at gmail dot com
2022-06-05  6:19 ` schwab@linux-m68k.org
2022-06-05 12:22 ` qcorba at gmail dot com

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).