[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #23 from Dlang Bot --- dlang/dmd pull request #9401 "fix issue 17289 - macos/32 With Xcode 8.3 linker, warnings of "pointer not aligned"" was merged into master: - a44118acd47181d93a69372fb5c15d4d2d2fae9b by Rainer Schuetze: fix issue 17289 - macos/32 With Xcode 8.3 linker, warnings of "pointer not aligned" force alignment of pointers in DATA https://github.com/dlang/dmd/pull/9401 --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #22 from github-bugzi...@puremagic.com --- Commits pushed to newCTFE at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/5f5606429ca65fb81d550ab93b16835cb68a7c9c fix Issue 17289 - With Xcode 8.3 linker, warnings of 'pointer not aligned' https://github.com/dlang/dmd/commit/dfe6ebfd143eea8f78ac3a131d28312ece4da81f Merge pull request #6721 from WalterBright/fix17289 https://github.com/dlang/dmd/commit/9adb8d6356aac83c2614b668e1022ef31f12f972 fix Issue 17289 - With Xcode 8.3 linker, warnings of 'pointer not aligned' https://github.com/dlang/dmd/commit/b2a782260579c44e581ad0575d0fd5c4674c7e4e Merge pull request #6789 from zachthemystic/cherrypick-PR6721-issue17289-to-stable --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #21 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/5f5606429ca65fb81d550ab93b16835cb68a7c9c fix Issue 17289 - With Xcode 8.3 linker, warnings of 'pointer not aligned' https://github.com/dlang/dmd/commit/dfe6ebfd143eea8f78ac3a131d28312ece4da81f Merge pull request #6721 from WalterBright/fix17289 --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #19 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/9adb8d6356aac83c2614b668e1022ef31f12f972 fix Issue 17289 - With Xcode 8.3 linker, warnings of 'pointer not aligned' https://github.com/dlang/dmd/commit/b2a782260579c44e581ad0575d0fd5c4674c7e4e Merge pull request #6789 from zachthemystic/cherrypick-PR6721-issue17289-to-stable move fix Issue 17289 - With Xcode 8.3 linker... to stable --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #18 from Steven Schveighoffer--- (In reply to Vladimir Panteleev from comment #15) > (In reply to Zach the Mystic from comment #13) > > If you're running a business, you wouldn't tell your customers, "Our > > supplier crashed their truck, so we're not required to serve you." > > Bad analogy. It is your choice to use Apple products, your choice to update > Xcode, and your choice to (instead of using a workaround) attempt to > escalate the issue, here, on D's bugtracker, even though the breaking change > was in Xcode, not D. AFAIK, this is not a regression in Xcode, but a new warning for a bad situation that was previously unreported. The code still builds, but the pointers that dmd generates in the object files were misaligned. It is a regression of DMD, because older versions of DMD did not generate misaligned data. I think we can fix in the stable branch, and move on here. --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #17 from Vladimir Panteleev--- (In reply to Zach the Mystic from comment #16) > It's thousands of pages of warnings for one compile, using the > out-of-the-box experience of how to download and try D, as described on the > main website. If you get dub and type 'dub run dscanner', for example, > thousands of pages of warnings. Also, it never finished building for me and > I had to press Ctrl-C on the terminal. I'm focusing on the new user who > decides to try D one day. Whose only sin, apparently, is that he bought a > mac. Or that he chose to use D, for some reason. Fair enough. > What's wrong with Steven Schveighoffer's suggestion about including it in > the next release for the stable branch? That seemed like a good compromise. I think that's completely fine. However, we don't know when the next release (major or minor) will occur, and Martin (our current release manager) hasn't been seen online the past few days. --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #16 from Zach the Mystic--- (In reply to Vladimir Panteleev from comment #15) > (In reply to Zach the Mystic from comment #13) > > If you're running a business, you wouldn't tell your customers, "Our > > supplier crashed their truck, so we're not required to serve you." > > Bad analogy. It is your choice to use Apple products, your choice to update > Xcode, and your choice to (instead of using a workaround) attempt to > escalate the issue, here, on D's bugtracker, even though the breaking change > was in Xcode, not D. > > > A good business focuses on the customer. > > Well... would you like a refund? Luckily for us, D is not a business, it's > an open-source project. > > > and it's D users who are hurting. > > 1. Only Apple users. > 2. "Hurting"? Isn't it just warnings? It's thousands of pages of warnings for one compile, using the out-of-the-box experience of how to download and try D, as described on the main website. If you get dub and type 'dub run dscanner', for example, thousands of pages of warnings. Also, it never finished building for me and I had to press Ctrl-C on the terminal. I'm focusing on the new user who decides to try D one day. Whose only sin, apparently, is that he bought a mac. Or that he chose to use D, for some reason. > > and the fix should be patched to the main website ASAP. > > We are not going to make an exception for our release process for a LINKER > WARNING. What's wrong with Steven Schveighoffer's suggestion about including it in the next release for the stable branch? That seemed like a good compromise. I do think your focus is wrong, and that you should consider thinking of D as a product that you can help to deliver to customers, whether they pay for it or not. Something that you can be proud to be associated with. But that's a philosophical issue, and a hard one, and a long conversation. --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 Vladimir Panteleevchanged: What|Removed |Added Severity|regression |major --- Comment #15 from Vladimir Panteleev --- (In reply to Zach the Mystic from comment #13) > If you're running a business, you wouldn't tell your customers, "Our > supplier crashed their truck, so we're not required to serve you." Bad analogy. It is your choice to use Apple products, your choice to update Xcode, and your choice to (instead of using a workaround) attempt to escalate the issue, here, on D's bugtracker, even though the breaking change was in Xcode, not D. > A good business focuses on the customer. Well... would you like a refund? Luckily for us, D is not a business, it's an open-source project. > and it's D users who are hurting. 1. Only Apple users. 2. "Hurting"? Isn't it just warnings? > and the fix should be patched to the main website ASAP. We are not going to make an exception for our release process for a LINKER WARNING. All in all, I definitely don't see any reason to treat this issue with the urgency you demand, and I don't think the tone of your communication is of any help to anyone. There are multiple workarounds available at your disposal: - Build D from git - Use a nightly version of D (https://nightlies.dlang.org/dmd-nightly/) - Filter out the linker warnings locally - Downgrade Xcode - Use a different operating system Considering the fix was already merged, please make use of one of the workarounds above and stop exaggerating the problem. --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #14 from Zach the Mystic--- (In reply to Steven Schveighoffer from comment #11) > Please, don't reopen bugs based on whether the fix is in a released compiler. > > I agree the warnings are jarring and bad, and this should go into 2.074.1. > But the fix is already merged, and that's what the bug tracker should track. > If you want to make a difference here, create a PR to cherry pick the fix > into the stable branch so it's included when 2.074.1 beta process commences. Okay, makes sense. Cherry picking pull: https://github.com/dlang/dmd/pull/6789 --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #13 from Zach the Mystic--- (In reply to Vladimir Panteleev from comment #12) > Since the breaking change was in Xcode, it would be a regression in Xcode as > well, no? I'm not sure about the idea of D being required to treat > regressions in others' software with urgency. If you're running a business, you wouldn't tell your customers, "Our supplier crashed their truck, so we're not required to serve you." A good business focuses on the customer. Maybe someone should bring this up with Apple and Xcode, true. But Walter was able to fix it with a three line change to dmd, and it's D users who are hurting. --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 Vladimir Panteleevchanged: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #12 from Vladimir Panteleev --- (In reply to Zach the Mystic from comment #8) > I believe this counts as a regression and should be patched to the main > website ASAP. Since the breaking change was in Xcode, it would be a regression in Xcode as well, no? I'm not sure about the idea of D being required to treat regressions in others' software with urgency. --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 Steven Schveighofferchanged: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #11 from Steven Schveighoffer --- Please, don't reopen bugs based on whether the fix is in a released compiler. I agree the warnings are jarring and bad, and this should go into 2.074.1. But the fix is already merged, and that's what the bug tracker should track. If you want to make a difference here, create a PR to cherry pick the fix into the stable branch so it's included when 2.074.1 beta process commences. --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 Zach the Mysticchanged: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- Severity|critical|regression --- Comment #10 from Zach the Mystic --- I guess I'll reopen this issue to make the point, now that I have an ally. Again, I believe this is in effect a horrible regression, and the fix should be patched to the main website ASAP. --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #9 from Jon Degenhardt--- (In reply to Zach the Mystic from comment #8) > I believe this counts as a regression and should be patched to the main > website ASAP. It's fixed on master. But I believe anyone trying D on OSX for > the first time from the website will have 1000 screens of linker errors when > they try to compile anything. Horrible user experience. I agree, the warnings are both alarming and a real nuisance. It would be worth including this in a 2.074.1 patch release. --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 Zach the Mysticchanged: What|Removed |Added CC||reachz...@gmail.com --- Comment #8 from Zach the Mystic --- I believe this counts as a regression and should be patched to the main website ASAP. It's fixed on master. But I believe anyone trying D on OSX for the first time from the website will have 1000 screens of linker errors when they try to compile anything. Horrible user experience. --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #7 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/5f5606429ca65fb81d550ab93b16835cb68a7c9c fix Issue 17289 - With Xcode 8.3 linker, warnings of 'pointer not aligned' https://github.com/dlang/dmd/commit/dfe6ebfd143eea8f78ac3a131d28312ece4da81f Merge pull request #6721 from WalterBright/fix17289 fix Issue 17289 - With Xcode 8.3 linker, warnings of 'pointer not aliā¦ --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #6 from Walter Bright--- https://github.com/dlang/dmd/pull/6721 --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 Walter Brightchanged: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #5 from Walter Bright --- > address 0x10003A8BB Well, 0xB, i.e. 11, is certainly not aligned. --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 Steven Schveighofferchanged: What|Removed |Added Hardware|x86 |x86_64 Severity|major |critical --- Comment #4 from Steven Schveighoffer --- I'm upping the importance on this. I literally get 20 pages of linker warnings whenever I build. This seriously impedes any workflow I can have while using dmd. --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #3 from Steven Schveighoffer--- I saw that stack overflow article, However, it seems that it's an unrelated software (firebase from google) which happens to cause the same issue as dmd. At first I thought it said that Xcode 8.3 was to blame. Hey, maybe they are secretly using D under the hood :) --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 --- Comment #2 from Jon Degenhardt--- Relevant link: http://stackoverflow.com/questions/42268117/how-to-remove-the-xcode-warning-apple-mach-o-linker-warning-pointer-not-aligned/43056194#43056194 --
[Issue 17289] With Xcode 8.3 linker, warnings of "pointer not aligned"
https://issues.dlang.org/show_bug.cgi?id=17289 Jon Degenhardtchanged: What|Removed |Added CC||jrdemail2000-dl...@yahoo.co ||m --- Comment #1 from Jon Degenhardt --- Seeing the same behavior. Occurs in most of my programs. DMD64 D Compiler v2.073.1; Xcode 8.3, Build version 8E162. Does not occur with LDC. --