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

--- Comment #2 from Brad Richardson <everythingfunctional at protonmail dot 
com> ---
You'll need to use fpm. I.e.

$ tree
.
├── app
│   └── main.f90
└── fpm.toml
$ fpm run
 + mkdir -p build/dependencies
Initialized empty Git repository in
/home/brad/examples/empty_elemental/build/dependencies/strff/.git/
remote: Enumerating objects: 27, done.
remote: Counting objects: 100% (27/27), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 27 (delta 4), reused 20 (delta 1), pack-reused 0
Unpacking objects: 100% (27/27), 16.98 KiB | 2.42 MiB/s, done.
>From https://gitlab.com/everythingfunctional/strff
 * tag               v4.0.0     -> FETCH_HEAD
Initialized empty Git repository in
/home/brad/examples/empty_elemental/build/dependencies/iso_varying_string/.git/
remote: Enumerating objects: 77, done.
remote: Counting objects: 100% (77/77), done.
remote: Compressing objects: 100% (65/65), done.
remote: Total 77 (delta 34), reused 12 (delta 0), pack-reused 0
Unpacking objects: 100% (77/77), 35.35 KiB | 1.77 MiB/s, done.
>From https://gitlab.com/everythingfunctional/iso_varying_string
 * tag               v3.0.3     -> FETCH_HEAD
Initialized empty Git repository in
/home/brad/examples/empty_elemental/build/dependencies/exceptional_numbers/.git/
remote: Enumerating objects: 18, done.
remote: Counting objects: 100% (18/18), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 18 (delta 3), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (18/18), 6.84 KiB | 1.37 MiB/s, done.
>From https://gitlab.com/everythingfunctional/exceptional_numbers
 * tag               v0.1.1     -> FETCH_HEAD
iso_varying_string.f90                 done.
exceptional_numbers.f90                done.
strff.f90                              done.
libempty_elemental.a                   done.
main.f90                               done.
empty_elemental                        done.
[100%] Project compiled successfully.
free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7f66af03e70f in ???
#1  0x7f66af08e83c in ???
#2  0x7f66af03e667 in ???
#3  0x7f66af0264b7 in ???
#4  0x7f66af02738f in ???
#5  0x7f66af0987b6 in ???
#6  0x7f66af09aa73 in ???
#7  0x7f66af09d352 in ???
#8  0x55a317611bff in MAIN__
        at app/main.f90:7
#9  0x55a317611cae in main
        at app/main.f90:2
<ERROR> Execution for object " empty_elemental " returned exit code  134
<ERROR> *cmd_run*:stopping due to failed executions
STOP 134

Reply via email to