[Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-12-28 Thread danglin at gcc dot gnu dot org

--- Additional Comments From danglin at gcc dot gnu dot org  2007-12-28 
19:55 ---
Native build with gcc 4.2.2 on hppa64-hp-hpux11.11 fails:

/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/bf
d -I. -DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE -DHPUX_CORE  -DHPUX_LARGE_AR_IDS -I.
 -I../../src/bfd -I../../src/bfd/../include -W -Wall -Wstrict-prototypes -Wm
issing-prototypes -Werror -g -O2 -c -o elf64-hppa.lo ../../src/bfd/elf64-hppa.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -I. -DHOST_HPPAHPUX -
D_LARGEFILE64_SOURCE -DHPUX_CORE -DHPUX_LARGE_AR_IDS -I. -I../../src/bfd -I../..
/src/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g
 -O2 -c ../../src/bfd/elf64-hppa.c  -DPIC -o .libs/elf64-hppa.o
cc1: warnings being treated as errors
../../src/bfd/elf64-hppa.c: In function 'allocate_global_data_opd':
../../src/bfd/elf64-hppa.c:1189: warning: implicit declaration of function 'allo
ca'
../../src/bfd/elf64-hppa.c:1189: warning: incompatible implicit declaration of b
uilt-in function 'alloca'
../../src/bfd/elf64-hppa.c: In function 'elf64_hppa_finalize_opd':
../../src/bfd/elf64-hppa.c:2189: warning: incompatible implicit declaration of b
uilt-in function 'alloca'
make[4]: *** [elf64-hppa.lo] Error 1


-- 
   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


http://sourceware.org/bugzilla/show_bug.cgi?id=5146

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/5322] ERROR: tcl error sourcing /home/dave/binutils-2.17.50/src/gas/testsuite/gas/all/gas.exp

2007-12-28 Thread danglin at gcc dot gnu dot org

--- Additional Comments From danglin at gcc dot gnu dot org  2007-12-28 
21:37 ---
Yes, it looks like expect linked against tcl8.3 has this problem.  I always
had more problems with expect linked against tcl8.4 although I haven't tested
this recently.

The line that causes the problem seems to be in gas-defs.exp:

set output_file [regsub ">&" $redir ""]



-- 
   What|Removed |Added

Summary|ERROR: tcl error sourcing   |ERROR: tcl error sourcing
   |/home/dave/binutils-|/home/dave/binutils-
   |2.17.50/src/gas/testsuite/ga|2.17.50/src/gas/testsuite/ga
   |s/all/  |s/all/gas.exp
   |gas.exp |


http://sourceware.org/bugzilla/show_bug.cgi?id=5322

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/5524] New: ld: I/O error, file "/xxx/gnu/binutils/objdir/opcodes/../bfd/.libs/libbfd.so": N o such file or directory

2007-12-28 Thread danglin at gcc dot gnu dot org
/bin/sh ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissin
g-prototypes -Werror -g -O2   -o libopcodes.la -rpath /opt/gnu64/lib -release `c
at ../bfd/libtool-soversion`  dis-buf.lo disassemble.lo dis-init.lo hppa-dis.lo
-Wl,/xxx/gnu/binutils/objdir/opcodes/../bfd/.libs/libbfd.so
libtool: link: gcc -shared -Wl,+h -Wl,libopcodes-2.18.50.20071228.sl -o .libs/li
bopcodes-2.18.50.20071228.sl  .libs/dis-buf.o .libs/disassemble.o .libs/dis-init
.o .libs/hppa-dis.o   -lc  -Wl,/xxx/gnu/binutils/objdir/opcodes/../bfd/.libs/lib
bfd.so
ld: I/O error, file "/xxx/gnu/binutils/objdir/opcodes/../bfd/.libs/libbfd.so": N
o such file or directory
Fatal error.
collect2: ld returned 1 exit status

It seems like the make file is using the wrong shared library extension.

SHARED_LIBADD = -Wl,/xxx/gnu/binutils/objdir/opcodes/../bfd/.libs/libbfd.so

-- 
   Summary: ld: I/O error, file
"/xxx/gnu/binutils/objdir/opcodes/../bfd/.libs/libbfd.so
": N
o such file or directory
   Product: binutils
   Version: 2.19 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: danglin at gcc dot gnu dot org
CC: bug-binutils at gnu dot org
 GCC build triplet: hppa64-hp-hpux11.00
  GCC host triplet: hppa64-hp-hpux11.00
GCC target triplet: hppa64-hp-hpux11.00


http://sourceware.org/bugzilla/show_bug.cgi?id=5524

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/5524] ld: I/O error, file "/xxx/gnu/binutils/objdir/opcodes/../bfd/.libs/libbfd.so": No such file or directory

2007-12-28 Thread danglin at gcc dot gnu dot org

--- Additional Comments From danglin at gcc dot gnu dot org  2007-12-28 
21:57 ---
Looks like the configure.in files need updating.  For example, we have this
in opcodes:

if test "$enable_shared" = "yes"; then
  case "${host}" in
*-*-cygwin*)
  SHARED_LDFLAGS="-no-undefined"
  SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/
../intl -lintl -lcygwin"
  ;;
*)
  SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.so"
  SHARED_DEPENDENCIES="../bfd/libbfd.la"
  ;;
  esac
fi


-- 
   What|Removed |Added

Summary|ld: I/O error, file |ld: I/O error, file
   |"/xxx/gnu/binutils/objdir/op|"/xxx/gnu/binutils/objdir/op
   |codes/../bfd/.libs/libbfd.so|codes/../bfd/.libs/libbfd.so
   |": N|": No such file or directory
   |o such file or directory|


http://sourceware.org/bugzilla/show_bug.cgi?id=5524

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/5322] ERROR: tcl error sourcing /home/dave/binutils-2.17.50/src/gas/testsuite/gas/all/gas.exp

2007-12-28 Thread danglin at gcc dot gnu dot org

--- Additional Comments From danglin at gcc dot gnu dot org  2007-12-29 
00:51 ---
Patch here:
http://sources.redhat.com/ml/binutils/2007-12/msg00159.html


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5322

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/5146] bfd build fails in alloca-conf.h when built without gcc

2007-12-28 Thread danglin at gcc dot gnu dot org

--- Additional Comments From danglin at gcc dot gnu dot org  2007-12-29 
01:48 ---
This is now fixed for builds with gcc by the following change:
http://sources.redhat.com/ml/binutils/2007-12/msg00160.html


-- 
   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=5146

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/5526] New: eh support is broken

2007-12-28 Thread danglin at gcc dot gnu dot org
See
http://gcc.gnu.org/ml/gcc-testresults/2007-12/msg01393.html
versus
http://gcc.gnu.org/ml/gcc-testresults/2007-12/msg01394.html

The former was with ld 2.18.50.20071227.  The latter was with
2.18.50.20070929.

In the g++ tests, I see stuff like

Executing on host: /home/dave/gnu/gcc-4.3/objdir/gcc/testsuite/g++/../../g++ -B/
home/dave/gnu/gcc-4.3/objdir/gcc/testsuite/g++/../../ /home/dave/gnu/gcc-4.3/gcc
/gcc/testsuite/g++.old-deja/g++.robertl/ice990323-2.C  -nostdinc++ -I/home/dave/
gnu/gcc-4.3/objdir/hppa-linux/libstdc++-v3/include/hppa-linux -I/home/dave/gnu/g
cc-4.3/objdir/hppa-linux/libstdc++-v3/include -I/home/dave/gnu/gcc-4.3/gcc/libst
dc++-v3/libsupc++ -I/home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/include/backward -I/
home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/testsuite/util -fmessage-length=0   -ansi
 -pedantic-errors -Wno-long-long  -fno-show-column   -L/home/dave/gnu/gcc-4.3/ob
jdir/hppa-linux/./libstdc++-v3/src/.libs  -L/home/dave/gnu/gcc-4.3/objdir/hppa-l
inux/./libstdc++-v3/src/.libs -L/home/dave/gnu/gcc-4.3/objdir/hppa-linux/./libib
erty  -lm   -o ./ice990323-2.exe(timeout = 300)
PASS: g++.old-deja/g++.robertl/ice990323-2.C (test for excess errors)
Setting LD_LIBRARY_PATH to .:/home/dave/gnu/gcc-4.3/objdir/hppa-linux/./libstdc+
+-v3/src/.libs:/home/dave/gnu/gcc-4.3/objdir/hppa-linux/./libstdc++-v3/src/.libs
:/home/dave/gnu/gcc-4.3/objdir/gcc:.:/home/dave/gnu/gcc-4.3/objdir/hppa-linux/./
libstdc++-v3/src/.libs:/home/dave/gnu/gcc-4.3/objdir/hppa-linux/./libstdc++-v3/s
rc/.libs:/home/dave/gnu/gcc-4.3/objdir/gcc:/home/dave/gnu/gcc-4.3/objdir/hppa-li
nux/libstdc++-v3/.libs:/home/dave/gnu/gcc-4.3/objdir/hppa-linux/libmudflap/.libs
:/home/dave/gnu/gcc-4.3/objdir/hppa-linux/libssp/.libs:/home/dave/gnu/gcc-4.3/ob
jdir/hppa-linux/libgomp/.libs:/home/dave/gnu/gcc-4.3/objdir/./gcc:/home/dave/gnu
/gcc-4.3/objdir/./prev-gcc:/usr/lib/debug
terminate called after throwing an instance of 'A
>'
terminate called recursively
FAIL: g++.old-deja/g++.robertl/ice990323-2.C execution test

In the libstdc++ tests, I see stuff like

Executing on host: /home/dave/gnu/gcc-4.3/objdir/./gcc/g++ -shared-libgcc -B/hom
e/dave/gnu/gcc-4.3/objdir/./gcc -nostdinc++ -L/home/dave/gnu/gcc-4.3/objdir/hppa
-linux/libstdc++-v3/src -L/home/dave/gnu/gcc-4.3/objdir/hppa-linux/libstdc++-v3/
src/.libs -B/home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-linux/bin/ -B/home/dave/opt/
gnu/gcc/gcc-4.3.0/hppa-linux/lib/ -isystem 
/home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-
linux/include -isystem /home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-linux/sys-include 
-g 
-O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g 
-
O2 -D_GNU_SOURCE -g -O2   -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++ 
-I/home/dave/
gnu/gcc-4.3/objdir/hppa-linux/libstdc++-v3/include/hppa-linux -I/home/dave/gnu/
gcc-4.3/objdir/hppa-linux/libstdc++-v3/include -I/home/dave/gnu/gcc-4.3/gcc/
libstdc++-v3/libsupc++ 
-I/home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/include/backward
-I/home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/testsuite/util -Wl,--gc-sections 
/home/
dave/gnu/gcc-4.3/gcc/libstdc++-v3/testsuite/18_support/bad_alloc/cons_virtual_d
erivation.cc-include bits/stdc++.h ./libtestc++.a  -lm   -o ./cons_virtual_d
erivation.exe(timeout = 600)
/home/dave/opt/gnu/bin/ld: error in /tmp/cceASdJq.o(.eh_frame); no .eh_frame_hdr
 table will be created.
output is:
/home/dave/opt/gnu/bin/ld: error in /tmp/cceASdJq.o(.eh_frame); no 
.eh_frame_hdr 
table will be created.

FAIL: 18_support/bad_alloc/cons_virtual_derivation.cc (test for excess errors)
Excess errors:
/home/dave/opt/gnu/bin/ld: error in /tmp/cceASdJq.o(.eh_frame); no 
.eh_frame_hdr 
table will be created.

-- 
   Summary: eh support is broken
   Product: binutils
   Version: 2.19 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: danglin at gcc dot gnu dot org
CC: bug-binutils at 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://sourceware.org/bugzilla/show_bug.cgi?id=5526

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils