public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/19468] New: gcc+binutils combined fails bootstrap
@ 2005-01-16 11:58 hp at gcc dot gnu dot org
  2005-01-16 12:32 ` [Bug bootstrap/19468] " ebotcazou at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-01-16 11:58 UTC (permalink / raw)
  To: gcc-bugs

Building from a combined tree of gcc and binutils using gcc-2.95.2,
I get this error with "Fri Jan 14 01:28:39 UTC 2005" (no configure
arguments, build gcc is gcc-2.95.2, ld used by bootstrap-gcc is
/usr/ccs/bin/ld, as used by bootstrap-gcc is /usr/ccs/bin/as):
...
gcc -DHAVE_CONFIG_H -I. -I/tmp/hptmp/combined/binutils -I. -D_GNU_SOURCE -I.
-I/tmp/hptmp/combined/binutils -I../bfd -I/tmp/hptmp\
/combined/binutils/../bfd -I/tmp/hptmp/combined/binutils/../include
-I/tmp/hptmp/combined/binutils/../intl -I../intl -DLOCALEDIR=\
"\"/usr/local/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation   -W
-Wall -Wstrict-prototypes -Wmissing-prototypes -g \
-O2  -c /tmp/hptmp/combined/binutils/filemode.c
/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2   -o size  size.o bucomm.o version.o f\
ilemode.o ../bfd/libbfd.la ../libiberty/libiberty.a
mkdir .libs
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o size size.o
bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.a \
../libiberty/libiberty.a
Undefined                       first referenced
 symbol                             in file
libintl_bindtextdomain              size.o
libintl_gettext                     size.o
libintl_dgettext                    ../bfd/.libs/libbfd.a(archive.o)
libintl_textdomain                  size.o
ld: fatal: Symbol referencing errors. No output written to size
collect2: ld returned 1 exit status
make[3]: *** [size] Error 1
make[3]: Leaving directory `/tmp/hptmp/obj/binutils'

Yes, this is the binutils build breaking, but building binutils
*by itself* succeeds. It seems that the "intl" subdir component
of gcc is at fault.  I recall it has been this way for a long time.
Usually --disable-nls helps, but see also binutils PR 673.

-- 
           Summary: gcc+binutils combined fails bootstrap
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


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


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

* [Bug bootstrap/19468] gcc+binutils combined fails bootstrap
  2005-01-16 11:58 [Bug bootstrap/19468] New: gcc+binutils combined fails bootstrap hp at gcc dot gnu dot org
@ 2005-01-16 12:32 ` ebotcazou at gcc dot gnu dot org
  2005-01-16 16:12 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-16 12:32 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org


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


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

* [Bug bootstrap/19468] gcc+binutils combined fails bootstrap
  2005-01-16 11:58 [Bug bootstrap/19468] New: gcc+binutils combined fails bootstrap hp at gcc dot gnu dot org
  2005-01-16 12:32 ` [Bug bootstrap/19468] " ebotcazou at gcc dot gnu dot org
@ 2005-01-16 16:12 ` pinskia at gcc dot gnu dot org
  2005-01-17  7:17 ` tim dot vanholder at anubex dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-16 16:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-16 16:12 -------
This is a dup of bug 11074.  The problem is related to how the build is picking up the wrong headers.

*** This bug has been marked as a duplicate of 11074 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

* [Bug bootstrap/19468] gcc+binutils combined fails bootstrap
  2005-01-16 11:58 [Bug bootstrap/19468] New: gcc+binutils combined fails bootstrap hp at gcc dot gnu dot org
  2005-01-16 12:32 ` [Bug bootstrap/19468] " ebotcazou at gcc dot gnu dot org
  2005-01-16 16:12 ` pinskia at gcc dot gnu dot org
@ 2005-01-17  7:17 ` tim dot vanholder at anubex dot com
  2005-01-19 23:11 ` hp at gcc dot gnu dot org
  2005-01-19 23:12 ` hp at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tim dot vanholder at anubex dot com @ 2005-01-17  7:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tim dot vanholder at anubex dot com  2005-01-17 07:17 -------
(In reply to comment #1)
> This is a dup of bug 11074.  The problem is related to how the build is
picking up the wrong headers.
> 
> *** This bug has been marked as a duplicate of 11074 ***

Actually, it's not really a duplicate of bug 11074 at all, although they have
the same symptoms.  In this case, all the right configury is in place, but the
binutils makefiles don't always specify @INTLLIBS@ when linking.
In 11074, adding @INTLLIBS@ is pointless because it also lacks the gettext
macros that would normally provide @INTLLIBS@.

In any case, it is not a gcc bug, but a binutils one - it's their Makefiles that
are broken.


-- 


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


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

* [Bug bootstrap/19468] gcc+binutils combined fails bootstrap
  2005-01-16 11:58 [Bug bootstrap/19468] New: gcc+binutils combined fails bootstrap hp at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-01-17  7:17 ` tim dot vanholder at anubex dot com
@ 2005-01-19 23:11 ` hp at gcc dot gnu dot org
  2005-01-19 23:12 ` hp at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-01-19 23:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2005-01-19 23:11 -------
Reopened as it's not a duplicate... (wait for it)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |


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


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

* [Bug bootstrap/19468] gcc+binutils combined fails bootstrap
  2005-01-16 11:58 [Bug bootstrap/19468] New: gcc+binutils combined fails bootstrap hp at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-01-19 23:11 ` hp at gcc dot gnu dot org
@ 2005-01-19 23:12 ` hp at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-01-19 23:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2005-01-19 23:12 -------
...and closed as invalid, as this is a binutils bug.  See comment #2.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2005-01-19 23:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-16 11:58 [Bug bootstrap/19468] New: gcc+binutils combined fails bootstrap hp at gcc dot gnu dot org
2005-01-16 12:32 ` [Bug bootstrap/19468] " ebotcazou at gcc dot gnu dot org
2005-01-16 16:12 ` pinskia at gcc dot gnu dot org
2005-01-17  7:17 ` tim dot vanholder at anubex dot com
2005-01-19 23:11 ` hp at gcc dot gnu dot org
2005-01-19 23:12 ` hp 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).