Thread overview
[Issue 14926] Programs compiled using dmd 2.068 are generating dummy profilegc.log files
Aug 17, 2015
ag0aep6g@gmail.com
Aug 26, 2015
Martin Nowak
Aug 28, 2015
Martin Nowak
Aug 28, 2015
Rainer Schuetze
Aug 28, 2015
deadalnix
Aug 28, 2015
Walter Bright
August 17, 2015
https://issues.dlang.org/show_bug.cgi?id=14926

ag0aep6g@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g@gmail.com
           Severity|critical                    |regression

--
August 26, 2015
https://issues.dlang.org/show_bug.cgi?id=14926

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@dawg.eu

--- Comment #1 from Martin Nowak <code@dawg.eu> ---
Can't reproduce this on my linux distribution.
What version of debian are you using?
On which of the flags does it depend?

Why are you using -gc instead of -g btw?

--
August 28, 2015
https://issues.dlang.org/show_bug.cgi?id=14926

--- Comment #2 from Martin Nowak <code@dawg.eu> ---
Ping, any update on this?

--
August 28, 2015
https://issues.dlang.org/show_bug.cgi?id=14926

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario@gmx.de

--- Comment #3 from Rainer Schuetze <r.sagitario@gmx.de> ---
I see it generated by the druntime unittests.

I guess that hints at the problem: if you link to a shared phobos/druntime library, the latter contains rt.profilegc. It's static destructors will run at program termination and write the log file.

--
August 28, 2015
https://issues.dlang.org/show_bug.cgi?id=14926

--- Comment #4 from deadalnix <deadalnix@gmail.com> ---
Ok first about the -gc

SDC was already using it when I started working on it. Not sure what is the difference with -g and never investigated the question that much. I have debug infos, that is this most important.

I'm using debian testing, and installed dmd via the .deb present on the download page. The setup is completely vanilla. I can provide you the versions of the softwares I'm using upon request.

I'm also using D on a OSX machine and the problem does not happen, so it seems to be linux specific (or even debian/ubuntu specific ?).

Rainer may have a point. I can do more testing over the weekend to find exactly what flags do or do not produce the file.

--
August 28, 2015
https://issues.dlang.org/show_bug.cgi?id=14926

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #5 from Walter Bright <bugzilla@digitalmars.com> ---
https://github.com/D-Programming-Language/druntime/pull/1364

--
August 29, 2015
https://issues.dlang.org/show_bug.cgi?id=14926

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/146469cf3e0781e9199e4ddd5d3f11cf99f684b9
fix
Issue 14926 - Programs compiled using dmd 2.068 are generating dummy
profilegc.log files

https://github.com/D-Programming-Language/druntime/commit/5db735222f7751dfc7a4e4490906e1c89d667cc5 Merge pull request #1364 from WalterBright/fix14926

fix Issue 14926 - Programs compiled using dmd 2.068 are generating dummy profilegc.log files

--
August 29, 2015
https://issues.dlang.org/show_bug.cgi?id=14926

--- Comment #7 from github-bugzilla@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/281bf608c07b0acdfc5ff97e1699057896082155 Merge pull request #1364 from WalterBright/fix14926

fix Issue 14926 - Programs compiled using dmd 2.068 are generating dummy profilegc.log files

--
September 07, 2015
https://issues.dlang.org/show_bug.cgi?id=14926

--- Comment #8 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/281bf608c07b0acdfc5ff97e1699057896082155 Merge pull request #1364 from WalterBright/fix14926

--
October 04, 2015
https://issues.dlang.org/show_bug.cgi?id=14926

--- Comment #9 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/146469cf3e0781e9199e4ddd5d3f11cf99f684b9 fix

https://github.com/D-Programming-Language/druntime/commit/5db735222f7751dfc7a4e4490906e1c89d667cc5 Merge pull request #1364 from WalterBright/fix14926

--