Beta 2.104.0

anonymouse anony at mouse.com
Wed May 10 02:48:02 UTC 2023


On Tuesday, 2 May 2023 at 00:34:45 UTC, Iain Buclaw wrote:
> Glad to announce the first beta for the 2.104.0 release, ♥ to 
> the 36 contributors.

A couple days ago I ran into an issue that was solved by 
https://issues.dlang.org/show_bug.cgi?id=23846 so I upgraded to 
this beta. I just initialized a dub project to try to use 
```mir.stat```

```D
import std.stdio;
import mir.stat;

void main()
{
	writeln("Edit source/app.d to start your project.");
}
```
and ran into the following linker errors:

```
(dmd-2.104.0-beta.1)confuzzled at confuzzleds-MBP stat % dub
     Starting Performing "debug" build using 
/Users/confuzzled/dlang/dmd-2.104.0-beta.1/osx/bin/dmd for x86_64.
   Up-to-date mir-core 1.5.5: target for configuration [library] 
is up to date.
   Up-to-date mir-algorithm 3.20.2: target for configuration 
[default] is up to date.
   Up-to-date mir-stat 0.1.6: target for configuration [library] 
is up to date.
     Building stat ~master: building configuration [application]
      Linking stat
ld: warning: alignment (1) of atom 'anon' is too small and may 
result in unaligned pointers
[SNIP same ld error repeated 1697 times]
ld: warning: alignment (1) of atom 'anon' is too small and may 
result in unaligned pointers
ld: warning: pointer not aligned at address 0x10006C2A1 ('anon' + 
673 from 
/Users/confuzzled/.dub/cache/stat/~master/build/application-debug-d2OWm2um2jTdPTUfJ52drA/stat.o)
ld: warning: pointer not aligned at address 0x10006C2BE ('anon' + 
702 from 
/Users/confuzzled/.dub/cache/stat/~master/build/application-debug-d2OWm2um2jTdPTUfJ52drA/stat.o)
ld: warning: pointer not aligned at address 0x10006C3A1 ('anon' + 
929 from 
/Users/confuzzled/.dub/cache/stat/~master/build/application-debug-d2OWm2um2jTdPTUfJ52drA/stat.o)
ld: warning: pointer not aligned at address 0x10006C3E9 ('anon' + 
1001 from 
/Users/confuzzled/.dub/cache/stat/~master/build/application-debug-d2OWm2um2jTdPTUfJ52drA/stat.o)
ld: warning: pointer not aligned at address 0x10006C43F ('anon' + 
1087 from 
/Users/confuzzled/.dub/cache/stat/~master/build/application-debug-d2OWm2um2jTdPTUfJ52drA/stat.o)
ld: warning: pointer not aligned at address 0x10006C47A ('anon' + 
1146 from 
/Users/confuzzled/.dub/cache/stat/~master/build/application-debug-d2OWm2um2jTdPTUfJ52drA/stat.o)
ld: warning: pointer not aligned at address 0x10006C496 ('anon' + 
1174 from 
/Users/confuzzled/.dub/cache/stat/~master/build/application-debug-d2OWm2um2jTdPTUfJ52drA/stat.o)
ld: warning: pointer not aligned at address 0x10006C4D2 ('anon' + 
1234 from 
/Users/confuzzled/.dub/cache/stat/~master/build/application-debug-d2OWm2um2jTdPTUfJ52drA/stat.o)
ld: warning: pointer not aligned at address 0x10006C6FD ('anon' + 
122 from 
../../.dub/cache/mir-algorithm/3.20.2/build/default-debug-R1enIlTUL3xo2uXB-nJMrg/libmir-algorithm.a(lifetime_fd_8f7.o))
ld: warning: pointer not aligned at address 0x10006C8A3 ('anon' + 
127 from 
../../.dub/cache/mir-algorithm/3.20.2/build/default-debug-R1enIlTUL3xo2uXB-nJMrg/libmir-algorithm.a(hash_114_3c9.o))
ld: warning: pointer not aligned at address 0x10006C93B ('anon' + 
127 from 
../../.dub/cache/mir-algorithm/3.20.2/build/default-debug-R1enIlTUL3xo2uXB-nJMrg/libmir-algorithm.a(hash_125_58c.o))
ld: warning: pointer not aligned at address 0x10006CAB9 ('anon' + 
139 from 
../../.dub/cache/mir-algorithm/3.20.2/build/default-debug-R1enIlTUL3xo2uXB-nJMrg/libmir-algorithm.a(comparison_186_3bd.o))
ld: warning: pointer not aligned at address 0x10006CB56 ('anon' + 
129 from 
../../.dub/cache/mir-algorithm/3.20.2/build/default-debug-R1enIlTUL3xo2uXB-nJMrg/libmir-algorithm.a(string_187_36f.o))
ld: warning: pointer not aligned at address 0x10006CC9D ('anon' + 
142 from 
../../.dub/cache/mir-algorithm/3.20.2/build/default-debug-R1enIlTUL3xo2uXB-nJMrg/libmir-algorithm.a(concatenation_219_e62.o))
ld: warning: pointer not aligned at address 0x10006CD67 ('anon' + 
137 from 
../../.dub/cache/mir-algorithm/3.20.2/build/default-debug-R1enIlTUL3xo2uXB-nJMrg/libmir-algorithm.a(capacity_21a_11f9.o))
ld: warning: pointer not aligned at address 0x10006CE0F ('anon' + 
142 from 
../../.dub/cache/mir-algorithm/3.20.2/build/default-debug-R1enIlTUL3xo2uXB-nJMrg/libmir-algorithm.a(concatenation_21b_1145.o))
ld: warning: pointer not aligned at address 0x10006CFE2 ('anon' + 
151 from 
../../.dub/cache/mir-algorithm/3.20.2/build/default-debug-R1enIlTUL3xo2uXB-nJMrg/libmir-algorithm.a(atomic_2d0_104b.o))
ld: warning: pointer not aligned at address 0x10006D191 ('anon' + 
127 from 
../../.dub/cache/mir-core/1.5.5/build/library-debug-6QbncWne9XfURo0c-rzF0g/libmir-core.a(hash_30_76c.o))
ld: unaligned pointer(s) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to 
see invocation)
Error: linker exited with status 1
Error /Users/confuzzled/dlang/dmd-2.104.0-beta.1/osx/bin/dmd 
failed with exit code 1.
```


More information about the Digitalmars-d-announce mailing list