public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings
       [not found] <bug-20425-50@http.gcc.gnu.org/bugzilla/>
@ 2005-11-07 16:17 ` olh at suse dot de
  2005-11-08 16:04 ` bergner at vnet dot ibm dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: olh at suse dot de @ 2005-11-07 16:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from olh at suse dot de  2005-11-07 16:17 -------
ping


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings
       [not found] <bug-20425-50@http.gcc.gnu.org/bugzilla/>
  2005-11-07 16:17 ` [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings olh at suse dot de
@ 2005-11-08 16:04 ` bergner at vnet dot ibm dot com
  2005-11-08 16:16 ` schwab at suse dot de
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: bergner at vnet dot ibm dot com @ 2005-11-08 16:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from bergner at vnet dot ibm dot com  2005-11-08 16:04 -------
Shouldn't libtool being using -print-multi-os-directory rather than
-print-search-dirs?

http://www.redhat.com/archives/fedora-devel-list/2004-January/msg01027.html


-- 

bergner at vnet dot ibm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bergner at vnet dot ibm dot
                   |                            |com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings
       [not found] <bug-20425-50@http.gcc.gnu.org/bugzilla/>
  2005-11-07 16:17 ` [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings olh at suse dot de
  2005-11-08 16:04 ` bergner at vnet dot ibm dot com
@ 2005-11-08 16:16 ` schwab at suse dot de
  2005-12-07 12:43 ` amodra at bigpond dot net dot au
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: schwab at suse dot de @ 2005-11-08 16:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from schwab at suse dot de  2005-11-08 16:16 -------
How do you find out where to splice the multi-os directory into the libraray
path?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings
       [not found] <bug-20425-50@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-11-08 16:16 ` schwab at suse dot de
@ 2005-12-07 12:43 ` amodra at bigpond dot net dot au
  2005-12-07 13:19 ` dje at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: amodra at bigpond dot net dot au @ 2005-12-07 12:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from amodra at bigpond dot net dot au  2005-12-07 12:42 -------
I'm willing to write a patch for this as I'm inclined to think that changing
gcc --print-search-dirs is the best way to make gcc/libtool work together.  A
typical linux distribution contains many packages with differing versions of
libtool.  Updating them all is likely to be considerably more work than
applying a gcc patch to fix the distro compiler.


-- 

amodra at bigpond dot net dot au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |amodra at bigpond dot net
                   |dot org                     |dot au
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-06-11 05:07:35         |2005-12-07 12:42:57
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings
       [not found] <bug-20425-50@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2005-12-07 12:43 ` amodra at bigpond dot net dot au
@ 2005-12-07 13:19 ` dje at gcc dot gnu dot org
  2005-12-07 13:49 ` amodra at bigpond dot net dot au
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: dje at gcc dot gnu dot org @ 2005-12-07 13:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from dje at gcc dot gnu dot org  2005-12-07 13:19 -------
Changing the behavior of GCC -print-search-dirs is a bad idea and will break
other applications relying on the current behavior.  Introducing a major
incompatibility into GCC is not a solution and I strongly oppose the proposal.

There is an appropriate option (-print-multi-os-directory), which libtool is
planning to use in a future release.  GCC should not be working around a
libtool problem.  A Linux distro can make changes to a local copy, but this
change should not be applied to FSF GCC.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings
       [not found] <bug-20425-50@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2005-12-07 13:19 ` dje at gcc dot gnu dot org
@ 2005-12-07 13:49 ` amodra at bigpond dot net dot au
  2005-12-11 20:54 ` aoliva at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: amodra at bigpond dot net dot au @ 2005-12-07 13:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from amodra at bigpond dot net dot au  2005-12-07 13:49 -------
There is no appropriate gcc option.  Some paths printed by -print-search-dirs
need the suffix printed by -print-multi-os-directory, others need the suffix
printed by -print-multi-directory.  How is libtool supposed to know which path
is which?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings
       [not found] <bug-20425-50@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2005-12-07 13:49 ` amodra at bigpond dot net dot au
@ 2005-12-11 20:54 ` aoliva at gcc dot gnu dot org
  2005-12-16  9:46 ` amodra at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2005-12-11 20:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from aoliva at gcc dot gnu dot org  2005-12-11 20:54 -------
IMHO it's better to add a new option with the desired meaning than modifying
the behavior of the current option.  -print-multi-search-dirs maybe?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings
       [not found] <bug-20425-50@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2005-12-11 20:54 ` aoliva at gcc dot gnu dot org
@ 2005-12-16  9:46 ` amodra at gcc dot gnu dot org
  2005-12-16  9:49 ` amodra at bigpond dot net dot au
  2006-01-01  5:25 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 12+ messages in thread
From: amodra at gcc dot gnu dot org @ 2005-12-16  9:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from amodra at gcc dot gnu dot org  2005-12-16 09:46 -------
Subject: Bug 20425

Author: amodra
Date: Fri Dec 16 09:46:22 2005
New Revision: 108635

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108635
Log:
        PR driver/20425
        * gcc.c (for_each_path): New function.
        (add_to_obstack, file_at_path): New functions.
        (struct file_at_path_info, struct add_to_obstack_info): New.
        (build_search_list): Rewrite using for_each_path.  Constify struct
        path_prefix pointer.  Add do_multi param.  Adjust all callers.
        (find_a_file): Similarly, but just change existing param to bool.
        (putenv_from_prefixes): Add do_multi param, make "paths" const.
        (do_spec_path): Delete.
        (struct spec_path_info): New.
        (spec_path): New function.
        (do_spec_1): Use for_each_path for %D and %I.
        (find_file): Adjust for find_a_file changes.
        (main): Search multilibs for specs.  Print multilib lib path for
        -print-search-dirs.  Likewise add multilibs to LIBRARY_PATH_ENV.
        (read_specs): Search multilibs for %include and %include_noerr.
        (is_directory): Remove second string param.  Change last param
        to a bool.  Don't use concat.  Remove SMALL_ARG_MAX test, always
        check path is a dir.  Update all callers.
        * doc/hostconfig.texi (SMALL_ARG_MAX): Remove mention.
        * system.h (SMALL_ARG_MAX): Poison.
        * config.gcc: Don't define SMALL_ARG_MAX.
        * config.host: Likewise.
        * config.build: Likewise.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config.build
    trunk/gcc/config.gcc
    trunk/gcc/config.host
    trunk/gcc/doc/hostconfig.texi
    trunk/gcc/gcc.c
    trunk/gcc/system.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings
       [not found] <bug-20425-50@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2005-12-16  9:46 ` amodra at gcc dot gnu dot org
@ 2005-12-16  9:49 ` amodra at bigpond dot net dot au
  2006-01-01  5:25 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 12+ messages in thread
From: amodra at bigpond dot net dot au @ 2005-12-16  9:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from amodra at bigpond dot net dot au  2005-12-16 09:49 -------
Fixed mainline.


-- 

amodra at bigpond dot net dot au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://gcc.gnu.org/ml/gcc-  |http://gcc.gnu.org/ml/gcc-
                   |patches/2005-               |patches/2005-
                   |12/msg00607.html            |12/msg00818.html
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings
       [not found] <bug-20425-50@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2005-12-16  9:49 ` amodra at bigpond dot net dot au
@ 2006-01-01  5:25 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-01  5:25 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings
  2005-03-11 12:50 [Bug driver/20425] New: " schwab at suse dot de
  2005-03-11 14:58 ` [Bug driver/20425] " pinskia at gcc dot gnu dot org
@ 2005-07-28  2:00 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-28  2:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-28 02:00 -------
*** Bug 23107 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike dot patnode at centrify
                   |                            |dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings
  2005-03-11 12:50 [Bug driver/20425] New: " schwab at suse dot de
@ 2005-03-11 14:58 ` pinskia at gcc dot gnu dot org
  2005-07-28  2:00 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-11 14:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-11 14:58 -------
Confirmed, I thought I saw this before.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-11 14:58:27
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20425


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-01-01  5:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20425-50@http.gcc.gnu.org/bugzilla/>
2005-11-07 16:17 ` [Bug driver/20425] -print-search-dirs doesn't honor mutil-os/multilib settings olh at suse dot de
2005-11-08 16:04 ` bergner at vnet dot ibm dot com
2005-11-08 16:16 ` schwab at suse dot de
2005-12-07 12:43 ` amodra at bigpond dot net dot au
2005-12-07 13:19 ` dje at gcc dot gnu dot org
2005-12-07 13:49 ` amodra at bigpond dot net dot au
2005-12-11 20:54 ` aoliva at gcc dot gnu dot org
2005-12-16  9:46 ` amodra at gcc dot gnu dot org
2005-12-16  9:49 ` amodra at bigpond dot net dot au
2006-01-01  5:25 ` pinskia at gcc dot gnu dot org
2005-03-11 12:50 [Bug driver/20425] New: " schwab at suse dot de
2005-03-11 14:58 ` [Bug driver/20425] " pinskia at gcc dot gnu dot org
2005-07-28  2:00 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).