| Summary: | Fix mktemp() problem with libg2c | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | gjohnson <gjohnson> | ||||
| Component: | gnu | Assignee: | David E. O'Brien <obrien> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.0-STABLE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-bugs->obrien Although f2c has been punted into the compat hierarchy, it's going to stay there for a while. David can decide whether this is worth chasing up. State Changed From-To: open->closed I don't make such supurlative changes in src/contrib/ software. Maybe a PR should be opened on the code that outputs the warning and have a way to turn it off on a case by case basis. |
libg2c uses mktemp() and tempnam() which causes all Fortran programs linked with it to issue a warning upon linking and of course makes the resulting binaries susceptible to problems of mktemp(). Fix: Apply the following patch in the /usr/src/contrib/libf2c/libI77 subdirectory. How-To-Repeat: Compile and link any Fortran program with FreeBSD 4. I do not know if this applies to CURRENT, but I suspect it does.