Last Comment Bug 758526 - Configure fails to find gcc plugin directory with some gcc
: Configure fails to find gcc plugin directory with some gcc
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Rewriting and Analysis (show other bugs)
: Trunk
: All Linux
: -- normal (vote)
: ---
Assigned To: Mike Hommey [:glandium]
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-25 00:59 PDT by Mike Hommey [:glandium]
Modified: 2012-06-02 01:04 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Work around gcc --print-file-name=plugin not returning anything useful (1.32 KB, patch)
2012-05-25 00:59 PDT, Mike Hommey [:glandium]
taras.mozilla: review+
Details | Diff | Review

Description Mike Hommey [:glandium] 2012-05-25 00:59:04 PDT
$ gcc-4.6 --print-file-name=plugin
/usr/lib/gcc/x86_64-linux-gnu/4.6/plugin

$ gcc-4.7 --print-file-name=plugin
plugin

(And it actually used to not work with 4.6 either)

Fortunately:
$ gcc-4.7 --print-file-name=
/usr/lib/gcc/x86_64-linux-gnu/4.7/
Comment 1 Mike Hommey [:glandium] 2012-05-25 00:59:50 PDT
Created attachment 627124 [details] [diff] [review]
Work around gcc --print-file-name=plugin not returning anything useful
Comment 2 (dormant account) 2012-05-29 09:11:20 PDT
Comment on attachment 627124 [details] [diff] [review]
Work around gcc --print-file-name=plugin not returning anything useful

rubberstamp

Note You need to log in before you can comment on or make changes to this bug.