Summary: | media-plugins/swh-plugins-0.4.15-r1 unable to compile with -O0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Limansky <limanski> |
Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
swh-plugins-0.4.15-glibc-2.10.patch |
Description
Mike Limansky
2009-06-12 13:26:20 UTC
Missing includes (foo not declared in this scope) for C++ code is gcc-4.4 usually... getline and const char* vs char* is glibc 2.10. Drop the one that is not your case :) (In reply to comment #1) > Missing includes (foo not declared in this scope) for C++ code is gcc-4.4 > usually... getline and const char* vs char* is glibc 2.10. > > Drop the one that is not your case :) > swh-plugins written on plain C, not C++. I think you know that the locale.h is a part of glibc. BTW, verified before I submitted the bug - it reproduced both with gcc 4.3 and gcc 4.4. I've attached a build.log. Created attachment 194502 [details]
build.log
Build log is attached.
Created attachment 194508 [details, diff]
swh-plugins-0.4.15-glibc-2.10.patch
I've prepared patch for this issue, please check it.
Ah sorry without the build log i could only assume since you just said "missing includes". Yes this is glibc-2.10 (and yai for them finally fixing this crap :P). cant reproduce here, glibc 2.10, gcc 4.3/4.4 :/ (In reply to comment #6) > cant reproduce here, glibc 2.10, gcc 4.3/4.4 :/ > Do you have nls USE flag switched on? (In reply to comment #7) > (In reply to comment #6) > > cant reproduce here, glibc 2.10, gcc 4.3/4.4 :/ > > > > Do you have nls USE flag switched on? > yes i tried with and without (In reply to comment #6) > cant reproduce here, glibc 2.10, gcc 4.3/4.4 :/ > I've had same issue with media-video/guvcview with one user... I wonder what this is about, in that case I managed to convince upstream to include locale.h for the 'getlocale' function, while he already included some upper level ones that included it... doesn't seem to be a glibc problem... Yes this is a problem with -O0 builds: http://blog.flameeyes.eu/2008/09/02/testing-the-corner-cases its been a while since I had not touched this package... patch applied, thanks! |