[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

2014-08-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75315 --- Comment #13 from Emil Velikov --- (In reply to comment #12) > I tried the workaround in 1., adding " -fsanitize=address" to CC and CXX, > now it links with it, however for some reason it still fails with the same > error: > https://launchpadl

[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

2014-08-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75315 --- Comment #12 from Fabio Pedretti --- I tried the workaround in 1., adding " -fsanitize=address" to CC and CXX, now it links with it, however for some reason it still fails with the same error: https://launchpadlibrarian.net/183204096/buildlog_

[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

2014-08-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75315 Emil Velikov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

2014-08-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75315 --- Comment #10 from Fabio Pedretti --- It is LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-fsanitize=address" But it doesn't work: checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/build/buildd/mes

[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

2014-08-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75315 --- Comment #9 from Emil Velikov --- (In reply to comment #8) > I added it to LDFLAGS (see the LDFLAGS while calling configure), but > libglapi still links without it: > https://launchpadlibrarian.net/183064138/buildlog_ubuntu-utopic-i386.mesa_10

[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

2014-08-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75315 --- Comment #8 from Fabio Pedretti --- I added it to LDFLAGS (see the LDFLAGS while calling configure), but libglapi still links without it: https://launchpadlibrarian.net/183064138/buildlog_ubuntu-utopic-i386.mesa_10.4~git1408241158.8d8a5e%2Bgal

[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

2014-08-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75315 --- Comment #7 from Emil Velikov --- (In reply to comment #6) > Probably, however according to this: > http://llvm.org/bugs/show_bug.cgi?id=19162 > it's an issue for clang only, while I a building with gcc. Have you tried adding "-fsanitize=addr

[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

2014-08-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75315 --- Comment #6 from Fabio Pedretti --- Probably, however according to this: http://llvm.org/bugs/show_bug.cgi?id=19162 it's an issue for clang only, while I a building with gcc. -- You are receiving this mail because: You are the assignee for t

[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

2014-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75315 --- Comment #5 from nobled --- http://clang.llvm.org/docs/AddressSanitizer.html#usage > -Wl,-z,defs may cause link errors (don’t use it with AddressSanitizer). mesa links libglapi with -Wl,--no-undefined, which is the same thing as -Wl,-z,defs,

[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

2014-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75315 --- Comment #4 from Fabio Pedretti --- Here is a log with a verbose build: https://launchpadlibrarian.net/183055341/buildlog_ubuntu-utopic-i386.mesa_10.4~git1408240813.8d8a5e%2Bgallium-nine~gd~u_FAILEDTOBUILD.txt.gz Note I get the same error wit

[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

2014-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75315 --- Comment #3 from Emil Velikov --- I'm willing to blame the compiler for that one, but just in case can you run a verbose build in one of the failing directories - cd ; make V=1 -- You are receiving this mail because: You are the assigne

[Mesa-dev] [Bug 75315] libglapi build failure with gcc -fsanitize=address

2014-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75315 Fabio Pedretti changed: What|Removed |Added Summary|build failure with gcc |libglapi build failure with