August 16, 2014 [Issue 12754] MAC link error for template to static value | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12754 --- Comment #9 from Vladimir Panteleev <thecybershadow@gmail.com> --- (In reply to deadalnix from comment #8) > (In reply to monarchdodra from comment #6) > > (In reply to Vladimir Panteleev from comment #5) > > > If this is a regression, can you indicate a version when this worked? I'm getting the same error with 2.065. > > > > AFAIK, it's not a reg. I remember having had since since long ago, but reduced it only now. > > > > I don't have access to a mac anymore either, so I wouldn't even be able to check... > > It compile in 2.065, do not in the rc. Not for me: bash-3.2$ dmd | head -1 DMD64 D Compiler v2.065 bash-3.2$ dmd -lib foo/traits.d foo/file.d -ofmylib bash-3.2$ dmd -run main.d mylib.a Undefined symbols for architecture x86_64: "_D3foo4file1F6__ctorMFNciZS3foo4file1F", referenced from: __Dmain in main.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status --- errorlevel 1 Please provide a test case which works in 2.065 but not in master or the RC. > It is not because it has been broken for a while in trunck that this isn't a regression. I don't know how you got the impression that we made the conclusion based on whether something "has been broken for a while in trunck". -- |
August 16, 2014 [Issue 12754] MAC link error for template to static value | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12754 --- Comment #10 from Vladimir Panteleev <thecybershadow@gmail.com> --- (In reply to Vladimir Panteleev from comment #9) > bash-3.2$ dmd -run main.d mylib.a No, that's not right. I was trying different things but this is clearly wrong. But the point stands: bash-3.2$ dmd main.d mylib.a Undefined symbols for architecture x86_64: "_D3foo6traits32__T10lvalueInitTS3foo4file4ImplZ10lvalueInityS3foo4file4Impl", referenced from: _D3foo4file1F6__ctorMFNciZS3foo4file1F in mylib.a(file_3_46.o) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status --- errorlevel 1 -- |
August 18, 2014 [Issue 12754] MAC link error for template to static value | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12754 --- Comment #11 from deadalnix <deadalnix@gmail.com> --- I did some investigation and I have better: The problem is due to an update in OSX's linker. That indeed not a regression( not a DMD regression anyway). That is why is is now failing with previous version of DMD as well. LLVM had a recent update to fix this, but I can't find the commit that did it. -- |
October 31, 2014 [Issue 12754] MAC link error for template to static value | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12754 Rainer Schuetze <r.sagitario@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |r.sagitario@gmx.de --- Comment #12 from Rainer Schuetze <r.sagitario@gmx.de> --- This might be related: https://issues.dlang.org/show_bug.cgi?id=13666 -- |
Copyright © 1999-2021 by the D Language Foundation