Cannot use printf_stderr from within js/src/
Categories
(Firefox Build System :: General, defect, P3)
Tracking
(firefox123 fixed)
| Tracking | Status | |
|---|---|---|
| firefox123 | --- | fixed |
People
(Reporter: sfink, Assigned: sfink)
References
Details
Attachments
(6 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
I don't know if this is specific to js/src, fwiw.
When I #include "mozilla/glue/Debug.h" from within js/src/gc/Marking.cpp, the build fails because it can't find #include_next <io.h>. If I fix that, it fails because it doesn't know _fileno(), _dup(), or _fdopen() by their underscore prefixed names. If I fix that (or rather, hack around it on Linux), then it seems to work, though I'm very doubtful that my fixes are correct and will work cross-platform.
| Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Comment 2•3 years ago
|
||
Depends on D164395
Updated•3 years ago
|
| Assignee | ||
Comment 3•3 years ago
|
||
| Assignee | ||
Comment 4•3 years ago
|
||
| Assignee | ||
Comment 5•3 years ago
|
||
| Assignee | ||
Comment 6•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 8•3 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 9•3 years ago
|
||
Oops. I was waiting for Nika's feedback, but didn't realize this bug had been closed because of the js::DumpFmt patch landing.
| Assignee | ||
Comment 10•3 years ago
|
||
Nika: sorry for the confusion, but I'd like some guidance before doing any more work on this bug. I hadn't realized this bug was closed. And having some solution here would be useful in tracking down a crash whose frequency has been climbing.
Comment 11•3 years ago
|
||
Commented on the bug - apologies I'm not very on top of comments without corresponding ni?s or review requests.
Comment 12•2 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:sfink, maybe it's time to close this bug?
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•2 years ago
|
Comment 13•2 years ago
|
||
The following patch is waiting for review from an inactive reviewer:
| ID | Title | Author | Reviewer Status |
|---|---|---|---|
| D166853 | Bug 1790873 - Use stderr directly in printf_stderr rather than opening a separate file | sfink | nika: Back Jan 2, 2024 |
:sfink, could you please find another reviewer or abandon the patch if it is no longer relevant?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 14•2 years ago
|
||
:sfink, could you please find another reviewer or abandon the patch if it is no longer relevant?
Nope. Leave me alone bugbot, she's the right reviewer. It can wait.
Comment 15•2 years ago
|
||
Comment 16•2 years ago
•
|
||
Backed out for causing Linux spidermonkey builds bustages in Printer.h.
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/workspace/obj-spider/dist/include/js/Printer.h:343:8: error: virtual function 'put' has a different return type ('bool') than the function it overrides (which has return type 'void')
L.E. There are also these sm bustages on Windows.
And also build bustages on other platforms.
Comment 17•2 years ago
|
||
Updated•2 years ago
|
Comment 18•2 years ago
|
||
| bugherder | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Comment 19•2 years ago
|
||
Comment 20•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•1 year ago
|
Description
•