public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/24297]  New: libtool: link: unable to infer tagged configuration
@ 2005-10-10 16:08 danglin at gcc dot gnu dot org
  2005-10-10 16:31 ` [Bug boehm-gc/24297] " ebotcazou at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-10-10 16:08 UTC (permalink / raw)
  To: gcc-bugs

make[3]: Entering directory `/home/dave/gnu/gcc-4.0/objdir/hppa-linux/boehm-gc'
gcc -B/home/dave/opt/gnu/gcc/gcc-4.1.0/hppa-linux/bin/
-B/home/dave/opt/gnu/gcc/
gcc-4.1.0/hppa-linux/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-4.1.0/hppa-linux/i
nclude -isystem /home/dave/opt/gnu/gcc/gcc-4.1.0/hppa-linux/sys-include
-DHAVE_C
ONFIG_H -I. -I../../../gcc/boehm-gc -I./include -I./include 
-I/home/dave/gnu/gc
c-4.0/gcc/boehm-gc/include  -fexceptions -Iinclude -I././targ-include
-I.//libc/
include -O2 -g -O2  -c -o tests/test.o ../../../gcc/boehm-gc/tests/test.c
/bin/sh ./libtool --mode=link gcc
-B/home/dave/opt/gnu/gcc/gcc-4.1.0/hppa-linux/
bin/ -B/home/dave/opt/gnu/gcc/gcc-4.1.0/hppa-linux/lib/ -isystem
/home/dave/opt/
gnu/gcc/gcc-4.1.0/hppa-linux/include -isystem
/home/dave/opt/gnu/gcc/gcc-4.1.0/h
ppa-linux/sys-include -fexceptions -Iinclude -I././targ-include
-I.//libc/includ
e -O2 -g -O2   -o gctest -shared-libgcc tests/test.o ./libgcjgc.la -lpthread
-ld
l
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
make[3]: *** [gctest] Error 1


-- 
           Summary: libtool: link: unable to infer tagged configuration
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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


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

* [Bug boehm-gc/24297] libtool: link: unable to infer tagged configuration
  2005-10-10 16:08 [Bug bootstrap/24297] New: libtool: link: unable to infer tagged configuration danglin at gcc dot gnu dot org
@ 2005-10-10 16:31 ` ebotcazou at gcc dot gnu dot org
  2005-10-10 16:49 ` [Bug boehm-gc/24297] [4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-10-10 16:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2005-10-10 16:31 -------
Confirmed on x86-64/Linux and SPARC/Solaris.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|hppa-unknown-linux-gnu      |
   GCC host triplet|hppa-unknown-linux-gnu      |
 GCC target triplet|hppa-unknown-linux-gnu      |
   Last reconfirmed|0000-00-00 00:00:00         |2005-10-10 16:31:23
               date|                            |


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


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

* [Bug boehm-gc/24297] [4.1 Regression] libtool: link: unable to infer tagged configuration
  2005-10-10 16:08 [Bug bootstrap/24297] New: libtool: link: unable to infer tagged configuration danglin at gcc dot gnu dot org
  2005-10-10 16:31 ` [Bug boehm-gc/24297] " ebotcazou at gcc dot gnu dot org
@ 2005-10-10 16:49 ` pinskia at gcc dot gnu dot org
  2005-10-10 16:51 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-10 16:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2005-10-10 16:49 -------
I wonder why I don't see this.  Though I compile with --disable-multilib on
x86_64-linux-gnu


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|libtool: link: unable to    |[4.1 Regression] libtool:
                   |infer tagged configuration  |link: unable to infer tagged
                   |                            |configuration
   Target Milestone|---                         |4.1.0


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


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

* [Bug boehm-gc/24297] [4.1 Regression] libtool: link: unable to infer tagged configuration
  2005-10-10 16:08 [Bug bootstrap/24297] New: libtool: link: unable to infer tagged configuration danglin at gcc dot gnu dot org
  2005-10-10 16:31 ` [Bug boehm-gc/24297] " ebotcazou at gcc dot gnu dot org
  2005-10-10 16:49 ` [Bug boehm-gc/24297] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-10-10 16:51 ` pinskia at gcc dot gnu dot org
  2005-10-10 16:51 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-10 16:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-10-10 16:51 -------
It also worked on "2005-09-25".


-- 


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


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

* [Bug boehm-gc/24297] [4.1 Regression] libtool: link: unable to infer tagged configuration
  2005-10-10 16:08 [Bug bootstrap/24297] New: libtool: link: unable to infer tagged configuration danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-10-10 16:51 ` pinskia at gcc dot gnu dot org
@ 2005-10-10 16:51 ` pinskia at gcc dot gnu dot org
  2005-10-10 16:53 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-10 16:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-10-10 16:51 -------
Actually I do see it. 

It worked on 2005-09-09 but fails with "Thu Oct  6 01:25:05 UTC 2005".


-- 


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


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

* [Bug boehm-gc/24297] [4.1 Regression] libtool: link: unable to infer tagged configuration
  2005-10-10 16:08 [Bug bootstrap/24297] New: libtool: link: unable to infer tagged configuration danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-10-10 16:51 ` pinskia at gcc dot gnu dot org
@ 2005-10-10 16:53 ` pinskia at gcc dot gnu dot org
  2005-10-11 16:30 ` [Bug bootstrap/24297] " bonzini at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-10 16:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2005-10-10 16:53 -------
It worked on "LAST_UPDATED: Wed Oct  5 01:01:09 UTC 2005".


-- 


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


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

* [Bug bootstrap/24297] [4.1 Regression] libtool: link: unable to infer tagged configuration
  2005-10-10 16:08 [Bug bootstrap/24297] New: libtool: link: unable to infer tagged configuration danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-10-10 16:53 ` pinskia at gcc dot gnu dot org
@ 2005-10-11 16:30 ` bonzini at gcc dot gnu dot org
  2005-10-12  8:46 ` bonzini at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-10-11 16:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bonzini at gcc dot gnu dot org  2005-10-11 16:30 -------
Can somebody with a failing system remove all @'s from the toplevel Makefile
and send me the log that results?

That is,

  sed -i 's/^\t@/\t' Makefile
  make <whatever-you-were-invoking>

Paolo


-- 


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


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

* [Bug bootstrap/24297] [4.1 Regression] libtool: link: unable to infer tagged configuration
  2005-10-10 16:08 [Bug bootstrap/24297] New: libtool: link: unable to infer tagged configuration danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-10-11 16:30 ` [Bug bootstrap/24297] " bonzini at gcc dot gnu dot org
@ 2005-10-12  8:46 ` bonzini at gcc dot gnu dot org
  2005-10-12 12:17 ` bonzini at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-10-12  8:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from bonzini at gcc dot gnu dot org  2005-10-12 08:46 -------
I'm starting to think that the way we detect target tools is incredibly
overengineered -> and hence buggy.

We should just *know* that an in-tree "as" has already been compiled wherever
AS_FOR_TARGET is needed!  We have dependencies to ensure that, everything else
is unnecessary.

(Similarly for CC_FOR_TARGET, which in this PR is being misdetected as
not-yet-available).

I have a prototype patch to do so, but it is quite big and I have to test it
really a lot.  On the other hand, the patch has

 3 files changed, 198 insertions(+), 367 deletions(-)

and this intrigues me, especially because it removes a lot of cruft from
Makefile.tpl.


-- 


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


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

* [Bug bootstrap/24297] [4.1 Regression] libtool: link: unable to infer tagged configuration
  2005-10-10 16:08 [Bug bootstrap/24297] New: libtool: link: unable to infer tagged configuration danglin at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-10-12  8:46 ` bonzini at gcc dot gnu dot org
@ 2005-10-12 12:17 ` bonzini at gcc dot gnu dot org
  2005-10-19 20:32 ` bonzini at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-10-12 12:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from bonzini at gcc dot gnu dot org  2005-10-12 12:17 -------
Created an attachment (id=9976)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9976&action=view)
patch to be "optimistic" about which tool to use

Can you guys please test the attached patch?


-- 

bonzini at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bonzini at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug bootstrap/24297] [4.1 Regression] libtool: link: unable to infer tagged configuration
  2005-10-10 16:08 [Bug bootstrap/24297] New: libtool: link: unable to infer tagged configuration danglin at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-10-12 12:17 ` bonzini at gcc dot gnu dot org
@ 2005-10-19 20:32 ` bonzini at gcc dot gnu dot org
  2005-10-22 10:37 ` cvs-commit at gcc dot gnu dot org
  2005-10-22 10:38 ` bonzini at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-10-19 20:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from bonzini at gcc dot gnu dot org  2005-10-19 20:32 -------
I *think* the actual bug can be fixed by an obvious patch.  The attached one
would become then 4.2 material.

I'll check this in 12 hours. :-)


-- 


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


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

* [Bug bootstrap/24297] [4.1 Regression] libtool: link: unable to infer tagged configuration
  2005-10-10 16:08 [Bug bootstrap/24297] New: libtool: link: unable to infer tagged configuration danglin at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2005-10-19 20:32 ` bonzini at gcc dot gnu dot org
@ 2005-10-22 10:37 ` cvs-commit at gcc dot gnu dot org
  2005-10-22 10:38 ` bonzini at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-22 10:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from cvs-commit at gcc dot gnu dot org  2005-10-22 10:37 -------
Subject: Bug 24297

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     bonzini@gcc.gnu.org     2005-10-22 10:37:17

Modified files:
        .              : ChangeLog Makefile.tpl Makefile.in 

Log message:
        2005-10-22  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/24297
        * Makefile.tpl (do-[+make-target+], do-check, install,
        stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s
        are set before recursing.
        * Makefile.in: Regenerate.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.1160&r2=1.1161
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/Makefile.tpl.diff?cvsroot=gcc&r1=1.145&r2=1.146
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/Makefile.in.diff?cvsroot=gcc&r1=1.282&r2=1.283


-- 


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


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

* [Bug bootstrap/24297] [4.1 Regression] libtool: link: unable to infer tagged configuration
  2005-10-10 16:08 [Bug bootstrap/24297] New: libtool: link: unable to infer tagged configuration danglin at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2005-10-22 10:37 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-22 10:38 ` bonzini at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-10-22 10:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from bonzini at gcc dot gnu dot org  2005-10-22 10:38 -------
fix committed, the more complex patch will have to wait for 4.2


-- 

bonzini at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2005-10-22 10:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-10 16:08 [Bug bootstrap/24297] New: libtool: link: unable to infer tagged configuration danglin at gcc dot gnu dot org
2005-10-10 16:31 ` [Bug boehm-gc/24297] " ebotcazou at gcc dot gnu dot org
2005-10-10 16:49 ` [Bug boehm-gc/24297] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-10-10 16:51 ` pinskia at gcc dot gnu dot org
2005-10-10 16:51 ` pinskia at gcc dot gnu dot org
2005-10-10 16:53 ` pinskia at gcc dot gnu dot org
2005-10-11 16:30 ` [Bug bootstrap/24297] " bonzini at gcc dot gnu dot org
2005-10-12  8:46 ` bonzini at gcc dot gnu dot org
2005-10-12 12:17 ` bonzini at gcc dot gnu dot org
2005-10-19 20:32 ` bonzini at gcc dot gnu dot org
2005-10-22 10:37 ` cvs-commit at gcc dot gnu dot org
2005-10-22 10:38 ` bonzini 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).