Skip to content

Conversation

bioinfornatics
Copy link
Contributor

Enhance build with many commit for each step

@mwarning mwarning merged commit 52c6347 into ldc-developers:master Oct 12, 2011
dnadlinger added a commit that referenced this pull request Sep 27, 2014
Fix llvm_bswap declaration
timotheecour pushed a commit to timotheecour/ldc that referenced this pull request Dec 13, 2017
Robertorosmaninho added a commit to Robertorosmaninho/ldc that referenced this pull request Feb 8, 2020
Robertorosmaninho added a commit to Robertorosmaninho/ldc that referenced this pull request Feb 12, 2020
MLIR: #2 CMake - Adding FindMLIR.cmake
MLIR: #3 CMake - Updating FindMLIR
MLIR: #4 CMake - Updating Path 
MLIR: #5 CMake - Adding MLIRLibs
MLIR: #6 CMake - Supporting Dialect on FindMLIR
MLIR: #7 CMake - Adding Message of Ops.ts
MLIR: ldc-developers#8 CMake - Removing duplicated messages
MLIR: ldc-developers#9 CMake: Updating paths and setting libs
MLIR: ldc-developers#10 CMake - Removing duplicated MLIR Headers
Make MLIR optional, use MLIR_LIBRARIES
ricardaxel pushed a commit to ricardaxel/ldc that referenced this pull request Sep 26, 2024
Got the following error :

```
Call parameter type does not match function signature!
{ i64, ptr } { i64 62, ptr @.str.244 }
 ptr  %84 = call { i64, ptr } @_d_arrayappendcd(ptr dereferenceable(16) %3, i32 %83, { i64, ptr } { i64 62, ptr @.str.244 }, i32 678) ldc-developers#10, !dbg !19027
```

For now, I have no idea where the _d_arrayappendcd signature with only
i64 and ptr @.str is created..
ricardaxel pushed a commit to ricardaxel/ldc that referenced this pull request Jul 11, 2025
Got the following error :

```
Call parameter type does not match function signature!
{ i64, ptr } { i64 62, ptr @.str.244 }
 ptr  %84 = call { i64, ptr } @_d_arrayappendcd(ptr dereferenceable(16) %3, i32 %83, { i64, ptr } { i64 62, ptr @.str.244 }, i32 678) ldc-developers#10, !dbg !19027
```

For now, I have no idea where the _d_arrayappendcd signature with only
i64 and ptr @.str is created..
the-horo added a commit to the-horo/ldc that referenced this pull request Aug 21, 2025
These tests seem to fail with a shared druntime, and work with a
static one. CI fails with a static druntime though.

A gdb backtrace with a shared druntime:
```
Reading symbols from ./a...
(No debugging symbols found in ./a)
(gdb) r
Starting program: /root/build/a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000005555550afc in D main ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x0000007ff77432f0 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
(gdb) bt
\#0  0x0000007ff77432f0 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\ldc-developers#1  0x0000007ff77563b8 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\ldc-developers#2  0x0000007ff7757000 in _Unwind_Backtrace () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\ldc-developers#3  0x0000007ff78b2c6c in backtrace () from /usr/lib64/libc.so.6
\ldc-developers#4  0x0000007ff7aee058 in core.lifetime.emplace!(core.runtime.DefaultTraceInfo).emplace(core.runtime.DefaultTraceInfo) ()
   from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#5  0x0000007ff7aed1f0 in core.runtime.defaultTraceHandler(void*) () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#6  0x0000007ff7b09614 in _d_createTrace () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#7  0x0000007ff7b0a7a0 in _d_throw_exception () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#8  0x0000007ff7acb418 in _d_assert_msg () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#9  0x0000005555550d18 in etc.linux.memoryerror.registerMemoryAssertHandler!().registerMemoryAssertHandler()._d_handleSignalAssert(int, core.sys.posix.signal.siginfo_t*, void*) ()
\ldc-developers#10 <signal handler called>
\ldc-developers#11 0x0000005555550afc in D main ()
```

And with a static druntime:
```
Reading symbols from ./a...
(No debugging symbols found in ./a)
(gdb) r
Starting program: /tmp/a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x000000555556a4bc in D main ()
(gdb) c
Continuing.
core.exception.AssertError@/usr/lib/ldc2/1.41/include/d/etc/linux/memoryerror.d(415): segmentation fault: null pointer read/write operation
----------------
??:? [0x555557fa2f]
??:? [0x555557f1ab]
??:? [0x5555581d17]
??:? [0x5555570893]
??:? [0x555556b2ab]
??:? [0x555556a6d7]
??:? [0x7ff7ffb797]
??:? [0x555556a4bb]
??:? [0x5555570567]
??:? [0x5555570413]
??:? [0x5555570277]
??:? [0x555556a5a3]
??:? [0x7ff7d02053]
??:? __libc_start_main [0x7ff7d02137]
??:? [0x555556a3af]

Program received signal SIGSEGV, Segmentation fault.
0x0000007ffffffdd0 in ?? ()
```

Signed-off-by: Andrei Horodniceanu <[email protected]>
the-horo added a commit to the-horo/ldc that referenced this pull request Aug 22, 2025
These tests seem to fail with a shared druntime (depending on arch as
well), and work with a static one. CI fails with a static druntime
though.

A gdb backtrace with a shared druntime:
```
Reading symbols from ./a...
(No debugging symbols found in ./a)
(gdb) r
Starting program: /root/build/a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000005555550afc in D main ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x0000007ff77432f0 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
(gdb) bt
\#0  0x0000007ff77432f0 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\ldc-developers#1  0x0000007ff77563b8 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\ldc-developers#2  0x0000007ff7757000 in _Unwind_Backtrace () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\ldc-developers#3  0x0000007ff78b2c6c in backtrace () from /usr/lib64/libc.so.6
\ldc-developers#4  0x0000007ff7aee058 in core.lifetime.emplace!(core.runtime.DefaultTraceInfo).emplace(core.runtime.DefaultTraceInfo) ()
   from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#5  0x0000007ff7aed1f0 in core.runtime.defaultTraceHandler(void*) () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#6  0x0000007ff7b09614 in _d_createTrace () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#7  0x0000007ff7b0a7a0 in _d_throw_exception () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#8  0x0000007ff7acb418 in _d_assert_msg () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#9  0x0000005555550d18 in etc.linux.memoryerror.registerMemoryAssertHandler!().registerMemoryAssertHandler()._d_handleSignalAssert(int, core.sys.posix.signal.siginfo_t*, void*) ()
\ldc-developers#10 <signal handler called>
\ldc-developers#11 0x0000005555550afc in D main ()
```

And with a static druntime:
```
Reading symbols from ./a...
(No debugging symbols found in ./a)
(gdb) r
Starting program: /tmp/a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x000000555556a4bc in D main ()
(gdb) c
Continuing.
core.exception.AssertError@/usr/lib/ldc2/1.41/include/d/etc/linux/memoryerror.d(415): segmentation fault: null pointer read/write operation
----------------
??:? [0x555557fa2f]
??:? [0x555557f1ab]
??:? [0x5555581d17]
??:? [0x5555570893]
??:? [0x555556b2ab]
??:? [0x555556a6d7]
??:? [0x7ff7ffb797]
??:? [0x555556a4bb]
??:? [0x5555570567]
??:? [0x5555570413]
??:? [0x5555570277]
??:? [0x555556a5a3]
??:? [0x7ff7d02053]
??:? __libc_start_main [0x7ff7d02137]
??:? [0x555556a3af]

Program received signal SIGSEGV, Segmentation fault.
0x0000007ffffffdd0 in ?? ()
```

Signed-off-by: Andrei Horodniceanu <[email protected]>
the-horo added a commit to the-horo/ldc that referenced this pull request Aug 22, 2025
These tests seem to fail with a shared druntime (depending on arch as
well), and work with a static one. CI fails with a static druntime
though.

A gdb backtrace with a shared druntime:
```
Reading symbols from ./a...
(No debugging symbols found in ./a)
(gdb) r
Starting program: /root/build/a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000005555550afc in D main ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x0000007ff77432f0 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
(gdb) bt
\#0  0x0000007ff77432f0 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\ldc-developers#1  0x0000007ff77563b8 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\ldc-developers#2  0x0000007ff7757000 in _Unwind_Backtrace () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\ldc-developers#3  0x0000007ff78b2c6c in backtrace () from /usr/lib64/libc.so.6
\ldc-developers#4  0x0000007ff7aee058 in core.lifetime.emplace!(core.runtime.DefaultTraceInfo).emplace(core.runtime.DefaultTraceInfo) ()
   from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#5  0x0000007ff7aed1f0 in core.runtime.defaultTraceHandler(void*) () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#6  0x0000007ff7b09614 in _d_createTrace () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#7  0x0000007ff7b0a7a0 in _d_throw_exception () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#8  0x0000007ff7acb418 in _d_assert_msg () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#9  0x0000005555550d18 in etc.linux.memoryerror.registerMemoryAssertHandler!().registerMemoryAssertHandler()._d_handleSignalAssert(int, core.sys.posix.signal.siginfo_t*, void*) ()
\ldc-developers#10 <signal handler called>
\ldc-developers#11 0x0000005555550afc in D main ()
```

And with a static druntime:
```
Reading symbols from ./a...
(No debugging symbols found in ./a)
(gdb) r
Starting program: /tmp/a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x000000555556a4bc in D main ()
(gdb) c
Continuing.
core.exception.AssertError@/usr/lib/ldc2/1.41/include/d/etc/linux/memoryerror.d(415): segmentation fault: null pointer read/write operation
----------------
??:? [0x555557fa2f]
??:? [0x555557f1ab]
??:? [0x5555581d17]
??:? [0x5555570893]
??:? [0x555556b2ab]
??:? [0x555556a6d7]
??:? [0x7ff7ffb797]
??:? [0x555556a4bb]
??:? [0x5555570567]
??:? [0x5555570413]
??:? [0x5555570277]
??:? [0x555556a5a3]
??:? [0x7ff7d02053]
??:? __libc_start_main [0x7ff7d02137]
??:? [0x555556a3af]

Program received signal SIGSEGV, Segmentation fault.
0x0000007ffffffdd0 in ?? ()
```

Signed-off-by: Andrei Horodniceanu <[email protected]>
the-horo added a commit to the-horo/ldc that referenced this pull request Aug 24, 2025
These tests seem to fail with a shared druntime (depending on arch as
well), and work with a static one. CI fails with a static druntime
though.

A gdb backtrace with a shared druntime:
```
Reading symbols from ./a...
(No debugging symbols found in ./a)
(gdb) r
Starting program: /root/build/a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000005555550afc in D main ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x0000007ff77432f0 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
(gdb) bt
\#0  0x0000007ff77432f0 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\ldc-developers#1  0x0000007ff77563b8 in ?? () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\ldc-developers#2  0x0000007ff7757000 in _Unwind_Backtrace () from /usr/lib/gcc/aarch64-unknown-linux-gnu/15/libgcc_s.so.1
\ldc-developers#3  0x0000007ff78b2c6c in backtrace () from /usr/lib64/libc.so.6
\ldc-developers#4  0x0000007ff7aee058 in core.lifetime.emplace!(core.runtime.DefaultTraceInfo).emplace(core.runtime.DefaultTraceInfo) ()
   from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#5  0x0000007ff7aed1f0 in core.runtime.defaultTraceHandler(void*) () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#6  0x0000007ff7b09614 in _d_createTrace () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#7  0x0000007ff7b0a7a0 in _d_throw_exception () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#8  0x0000007ff7acb418 in _d_assert_msg () from /usr/lib/ldc2/1.41/lib64/libdruntime-ldc-shared.so.111
\ldc-developers#9  0x0000005555550d18 in etc.linux.memoryerror.registerMemoryAssertHandler!().registerMemoryAssertHandler()._d_handleSignalAssert(int, core.sys.posix.signal.siginfo_t*, void*) ()
\ldc-developers#10 <signal handler called>
\ldc-developers#11 0x0000005555550afc in D main ()
```

And with a static druntime:
```
Reading symbols from ./a...
(No debugging symbols found in ./a)
(gdb) r
Starting program: /tmp/a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x000000555556a4bc in D main ()
(gdb) c
Continuing.
core.exception.AssertError@/usr/lib/ldc2/1.41/include/d/etc/linux/memoryerror.d(415): segmentation fault: null pointer read/write operation
----------------
??:? [0x555557fa2f]
??:? [0x555557f1ab]
??:? [0x5555581d17]
??:? [0x5555570893]
??:? [0x555556b2ab]
??:? [0x555556a6d7]
??:? [0x7ff7ffb797]
??:? [0x555556a4bb]
??:? [0x5555570567]
??:? [0x5555570413]
??:? [0x5555570277]
??:? [0x555556a5a3]
??:? [0x7ff7d02053]
??:? __libc_start_main [0x7ff7d02137]
??:? [0x555556a3af]

Program received signal SIGSEGV, Segmentation fault.
0x0000007ffffffdd0 in ?? ()
```

Signed-off-by: Andrei Horodniceanu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants