Bug 46594 - [4.6 Regression] libquadmath intrudes generic (file system) namespace
Summary: [4.6 Regression] libquadmath intrudes generic (file system) namespace
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.6.0
: P1 normal
Target Milestone: 4.6.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-21 22:42 UTC by Gerald Pfeifer
Modified: 2010-11-30 14:38 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2010-11-21 23:06:03


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2010-11-21 22:42:14 UTC
libquadmath is now installed by default and installs two includes
files, specifically

   include/quadmath.h
   include/quadmath_weak.h 

This means one cannot install several versions of GCC into the
same prefix (using --program-suffix, --libdir, and --libexecdir)
any more, a regression.
Comment 1 kargls 2010-11-21 22:57:51 UTC
This is not a regression.  Although I agree that it is perhaps better
to install the headers into lib/gcc/${TARGET}/4.6.0/include.
Comment 2 Gerald Pfeifer 2010-11-21 23:06:03 UTC
It _is_ a regression in that it breaks a (generally agreed upon)
desirable characteristic of GCC installations.  It is not a regression
within libquadmath, but one caused by libquadmath at a global level.
Comment 3 Richard Biener 2010-11-22 10:56:36 UTC
It's a regression in that GCC now installes headers into that place.  That's
a no-no and I consider it a ship stopper.  Please fix.
Comment 4 Tobias Burnus 2010-11-23 23:01:01 UTC
Patch: http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02394.html
Comment 5 Tobias Burnus 2010-11-30 12:58:47 UTC
Author: burnus
Date: Tue Nov 30 12:58:42 2010
New Revision: 167295

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167295
Log:
2010-11-30  Tobias Burnus  <burnus@net-b.de>

        PR fortran/46594
        * Makefile.am: Install include files in
        target/version specific directory.
        * Makefile.in: Regenerate.


Modified:
    trunk/libquadmath/ChangeLog
    trunk/libquadmath/Makefile.am
    trunk/libquadmath/Makefile.in
Comment 6 Tobias Burnus 2010-11-30 14:38:55 UTC
FIXED. Thanks for the report.