public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/103558] New: perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read
@ 2021-12-04 19:15 danglin at gcc dot gnu.org
  2021-12-04 21:06 ` [Bug d/103558] " ibuclaw at gdcproject dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2021-12-04 19:15 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103558
           Summary: perf_event.d:2076:32: error: module 'bitmanip' is in
                    file 'std/bitmanip.d' which cannot be read
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa*-*-linux*
            Target: hppa*-*-linux*
             Build: hppa*-*-linux*

/bin/bash ../libtool --tag=D   --mode=compile /
home/dave/gnu/gcc/objdir/./gcc/gdc -B/home/dave/gnu/gcc/objdir/./gcc/
-B/home/da
ve/opt/gnu/gcc/gcc-12/hppa-linux-gnu/bin/
-B/home/dave/opt/gnu/gcc/gcc-12/hppa-l
inux-gnu/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-12/hppa-linux-gnu/include
-isy
stem /home/dave/opt/gnu/gcc/gcc-12/hppa-linux-gnu/sys-include   -fno-checking
-p
refer-pic -fversion=Shared -Wall  -frelease  -ffunction-sections
-fdata-sections
  -O2 -g  -fpreview=dip1000 -fpreview=fieldwise -fpreview=dtorfields -nostdinc
-
I ../../../../gcc/libphobos/libdruntime -I . -c -o core/sys/linux/perf_event.lo
../../../../gcc/libphobos/libdruntime/core/sys/linux/perf_event.d
libtool: compile:  /home/dave/gnu/gcc/objdir/./gcc/gdc
-B/home/dave/gnu/gcc/objd
ir/./gcc/ -B/home/dave/opt/gnu/gcc/gcc-12/hppa-linux-gnu/bin/
-B/home/dave/opt/g
nu/gcc/gcc-12/hppa-linux-gnu/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-12/hppa-li
nux-gnu/include -isystem
/home/dave/opt/gnu/gcc/gcc-12/hppa-linux-gnu/sys-includ
e -fno-checking -fversion=Shared -Wall -frelease -ffunction-sections
-fdata-sect
ions -O2 -g -fpreview=dip1000 -fpreview=fieldwise -fpreview=dtorfields
-nostdinc
 -I ../../../../gcc/libphobos/libdruntime -I . -c
../../../../gcc/libphobos/libd
runtime/core/sys/linux/perf_event.d  -fPIC -fversion=Shared -o
core/sys/linux/.l
ibs/perf_event.o
yes
../../../../gcc/libphobos/libdruntime/core/sys/linux/perf_event.d:2076:32:
error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read
 2076 |                         import std.bitmanip : bitfields;
      |                                ^
import path[0] = /home/dave/gnu/gcc/gcc-12/libphobos/libdruntime
import path[1] = /home/dave/gnu/gcc/objdir/hppa-linux-gnu/libphobos/libdruntime
make[5]: *** [Makefile:2472: core/sys/linux/perf_event.lo] Error 1

dave@mx3210:~/gnu/gcc/gcc$ find . -name bitmanip.d
./libphobos/src/std/bitmanip.d

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

* [Bug d/103558] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read
  2021-12-04 19:15 [Bug d/103558] New: perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read danglin at gcc dot gnu.org
@ 2021-12-04 21:06 ` ibuclaw at gdcproject dot org
  2021-12-06 23:02 ` ibuclaw at gdcproject dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-12-04 21:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Fix is already in upstream, just needs to be merged in.

https://github.com/dlang/druntime/pull/3620

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

* [Bug d/103558] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read
  2021-12-04 19:15 [Bug d/103558] New: perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read danglin at gcc dot gnu.org
  2021-12-04 21:06 ` [Bug d/103558] " ibuclaw at gdcproject dot org
@ 2021-12-06 23:02 ` ibuclaw at gdcproject dot org
  2021-12-06 23:12 ` [Bug d/103558] [12 Regression] " pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-12-06 23:02 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doko at debian dot org

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
*** Bug 103582 has been marked as a duplicate of this bug. ***

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

* [Bug d/103558] [12 Regression] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read
  2021-12-04 19:15 [Bug d/103558] New: perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read danglin at gcc dot gnu.org
  2021-12-04 21:06 ` [Bug d/103558] " ibuclaw at gdcproject dot org
  2021-12-06 23:02 ` ibuclaw at gdcproject dot org
@ 2021-12-06 23:12 ` pinskia at gcc dot gnu.org
  2021-12-07  9:45 ` pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-06 23:12 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0
            Summary|perf_event.d:2076:32:       |[12 Regression]
                   |error: module 'bitmanip' is |perf_event.d:2076:32:
                   |in file 'std/bitmanip.d'    |error: module 'bitmanip' is
                   |which cannot be read        |in file 'std/bitmanip.d'
                   |                            |which cannot be read

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

* [Bug d/103558] [12 Regression] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read
  2021-12-04 19:15 [Bug d/103558] New: perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-12-06 23:12 ` [Bug d/103558] [12 Regression] " pinskia at gcc dot gnu.org
@ 2021-12-07  9:45 ` pinskia at gcc dot gnu.org
  2021-12-07  9:53 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-07  9:45 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schwab@linux-m68k.org

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 103599 has been marked as a duplicate of this bug. ***

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

* [Bug d/103558] [12 Regression] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read
  2021-12-04 19:15 [Bug d/103558] New: perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-12-07  9:45 ` pinskia at gcc dot gnu.org
@ 2021-12-07  9:53 ` pinskia at gcc dot gnu.org
  2021-12-09  0:00 ` cvs-commit at gcc dot gnu.org
  2021-12-09  0:01 ` ibuclaw at gdcproject dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-07  9:53 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-12-07
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
.

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

* [Bug d/103558] [12 Regression] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read
  2021-12-04 19:15 [Bug d/103558] New: perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2021-12-07  9:53 ` pinskia at gcc dot gnu.org
@ 2021-12-09  0:00 ` cvs-commit at gcc dot gnu.org
  2021-12-09  0:01 ` ibuclaw at gdcproject dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-12-09  0:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>:

https://gcc.gnu.org/g:0fb57034770aa20adced4d176f34ca611c2945bf

commit r12-5849-g0fb57034770aa20adced4d176f34ca611c2945bf
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sun Dec 5 17:11:12 2021 +0100

    d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.

    D front-end changes:

        - Import dmd v2.098.0
        - New ImportC module for compiling preprocessed C11 code into D.
        - New -ftransition=in switch.
        - Improved handling of new 'noreturn' type.

    Druntime changes:

        - Import druntime v2.098.0
        - Fix broken import in core.sys.linux.perf_event module (PR103558).

    Phobos changes:

        - Import phobos v2.098.0
        - All sources are now compiled with -fpreview=fieldwise.

    gcc/d/ChangeLog:

            * dmd/MERGE: Merge upstream dmd 568496d5b.
            * Make-lang.in (D_FRONTEND_OBJS): Add d/common-file.o,
            d/common-outbuffer.o, d/common-string.o, d/file_manager.o,
            d/importc.o.  Remove d/root-outbuffer.o.
            (d/common-%.o): New recipe.
            * d-builtins.cc (build_frontend_type): Update for new front-end
            interface.
            (d_build_d_type_nodes): Set noreturn_type_node.
            * d-codegen.cc (d_build_call): Don't call function if one of the
            arguments is type 'noreturn'.
            (build_vthis_function): Propagate TYPE_QUAL_VOLATILE from original
            function type.
            * d-frontend.cc (eval_builtin): Update signature.
            (getTypeInfoType): Likewise.
            (toObjFile): New function.
            * d-gimplify.cc (d_gimplify_call_expr): Always evaluate arguments
from
            left to right.
            * d-lang.cc (d_handle_option): Handle OPT_ftransition_in.
            (d_parse_file): Don't generate D main if it is declared in user
code.
            * d-tree.h (CALL_EXPR_ARGS_ORDERED): Remove.
            (enum d_tree_index): Add DTI_BOTTOM_TYPE.
            (noreturn_type_node): New.
            * decl.cc (apply_pragma_crt): Remove.
            (DeclVisitor::visit): Update for new front-end interface.
            (DeclVisitor::visit (PragmaDeclaration *)): Don't handle
            crt_constructor and crt_destructor pragmas.
            (DeclVisitor::visit (VarDeclaration *)): Don't generate
declarations
            of type 'noreturn'.
            (DeclVisitor::visit (FuncDeclaration *)): Stop adding parameters
when
            'noreturn' type has been encountered.
            (get_symbol_decl): Set DECL_STATIC_CONSTRUCTOR and
            DECL_STATIC_DESTRUCTOR on decl node if requested.
            (aggregate_initializer_decl): Update for new front-end interface.
            * expr.cc (ExprVisitor::visit (CallExp *)): Always use the 'this'
            object as the result of calling any constructor function.
            (ExprVisitor::visit): Update for new front-end interface.
            * gdc.texi (Runtime Options): Document -fmain and -ftransition=in.
            * lang.opt (ftransition=in): New option.
            * modules.cc (get_internal_fn): Update for new front-end interface.
            * types.cc (TypeVisitor::visit): Likewise.
            (TypeVisitor::visit (TypeNoreturn *)): Return noreturn_type_node.
            (TypeVisitor::visit (TypeFunction *)): Stop adding parameters when
            'notreturn' type has been encountered.  Qualify function types that
            return 'noreturn' as TYPE_QUAL_VOLATILE.

    libphobos/ChangeLog:

            PR d/103558
            * libdruntime/MERGE: Merge upstream druntime 178c44ff.
            * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Add
            core/sys/linux/syscalls.d.
            (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/pthread_np.d.
            * libdruntime/Makefile.in: Regenerate.
            * src/MERGE: Merge upstream phobos 574bf883b.
            * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=fieldwise.
            * src/Makefile.in: Regenerate.
            * testsuite/libphobos.exceptions/assert_fail.d: Update test.
            * testsuite/libphobos.betterc/test22336.d: New test.

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

* [Bug d/103558] [12 Regression] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read
  2021-12-04 19:15 [Bug d/103558] New: perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read danglin at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2021-12-09  0:00 ` cvs-commit at gcc dot gnu.org
@ 2021-12-09  0:01 ` ibuclaw at gdcproject dot org
  6 siblings, 0 replies; 8+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-12-09  0:01 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Fix has been pulled in the most recent upstream merge.

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

end of thread, other threads:[~2021-12-09  0:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-04 19:15 [Bug d/103558] New: perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read danglin at gcc dot gnu.org
2021-12-04 21:06 ` [Bug d/103558] " ibuclaw at gdcproject dot org
2021-12-06 23:02 ` ibuclaw at gdcproject dot org
2021-12-06 23:12 ` [Bug d/103558] [12 Regression] " pinskia at gcc dot gnu.org
2021-12-07  9:45 ` pinskia at gcc dot gnu.org
2021-12-07  9:53 ` pinskia at gcc dot gnu.org
2021-12-09  0:00 ` cvs-commit at gcc dot gnu.org
2021-12-09  0:01 ` ibuclaw at gdcproject dot 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).