Conversation
|
Thanks for your pull request, @WalterBright! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub fetch digger
dub run digger -- build "master + dmd#8876" |
4389229 to
3126c9c
Compare
3126c9c to
8900693
Compare
b4e24e2 to
6061c5f
Compare
|
Auto Tester have failed for the Win_32_64 platform. "object.Error@(0): Access Violation". |
451371b to
4c41986
Compare
fcf54e7 to
ce9f335
Compare
src/dmd/backend/mscoffobj.d
Outdated
| * Input: | ||
| * seg = segment index that symbol is defined in | ||
| * s -> symbol | ||
| * s . symbol |
There was a problem hiding this comment.
I guess DAutoTest doesn't like this one.
src/dmd/backend/mscoffobj.d
Outdated
| * Output a common block definition. | ||
| * Input: | ||
| * p -> external identifier | ||
| * p . external identifier |
src/dmd/backend/mscoffobj.d
Outdated
| * seg = where the address is going (CODE or DATA) | ||
| * offset = offset within seg | ||
| * s -> Symbol table entry for identifier | ||
| * s . Symbol table entry for identifier |
|
@rainers thanks for finding the problem. I don't know how you found it in the log, all I could find was: so I assumed it was some environmental problem. |
ce9f335 to
0fc2e64
Compare
I just noticed during review, I think there will be more (IIRC some parameter names in the doc didn't match the function signature, but couldn't find them now). DAutoTest seems to fail for other reasons on all PRs, see e.g. #8878 (comment) |
src/win32.mak
Outdated
|
|
||
| $G/mscoffobj.obj : $C\mscoff.h $C\mscoffobj.c | ||
| $(CC) -c -o$@ $(MFLAGS) -I$D;$(ROOT) -I$G $C\mscoffobj | ||
| $G/mscoffobj.obj : $C\mscoff.d $C\mscoffobj.d |
There was a problem hiding this comment.
This compiles the 2 files into different object files, but not both are passed to the linker. Simplest to compile them seperately.
There was a problem hiding this comment.
One wonders why that suddenly stopped working (and it works on my machine). Sigh.
5eba524 to
5ac0749
Compare
thewilsonator
left a comment
There was a problem hiding this comment.
I know you try to not make unnecessary changes when converting files but it's probably a good idea to address this even if you just comment the test and one of the branches.
| rel.r_vaddr = r->offset; | ||
| rel.r_symndx = s->Sxtrnnum; | ||
| rel.r_vaddr = cast(uint)r.offset; | ||
| rel.r_symndx = s.Sxtrnnum; |
There was a problem hiding this comment.
DScanner complains that this and the above branch are identical. This is the cause of the buildkite failure.
There was a problem hiding this comment.
I commented them out.
src/dmd/backend/mscoffobj.d
Outdated
| s->Sclass == SCcomdef || | ||
| s->Sclass == SCcomdat || | ||
| s->Sclass == SCglobal) | ||
| if (s.Sclass == SCextern || |
5ac0749 to
5e9f424
Compare
|
Rebased to restart DAutoTest |
No description provided.