[Bug other/35377] stack-protector: multiple definition of `__stack_chk_fail_local'

2010-10-01 Thread gzp at papp dot hu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35377

Gabor Z. Papp  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
Version|4.2.3   |4.4.5
 Resolution||FIXED

--- Comment #2 from Gabor Z. Papp  2010-10-01 17:47:57 UTC 
---
Changing in gcc/gcc.c

#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all:-lssp_nonshared
-lssp}"

to


#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all:-lssp}"

solved the problem.


[Bug libmudflap/38339] libtool: compile: not configured to build any kind of library

2010-10-01 Thread gzp at papp dot hu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339

--- Comment #17 from Gabor Z. Papp  2010-10-01 18:42:49 UTC 
---
(In reply to comment #15)
> Please attach i686-pc-linux-gnu/libmudflap/config.log

Done.

> Please post the output of the following commands (modifying the configure
> script to post verbose output, and rerunning it):
> 
> sed -i '/checking the maximum length/a\
> set -x
> ' libmudflap/configure

I'm not sure I understand this part. In what directory level run this command?

~/src/gcc-4.4.5/obj/i686-pc-linux-gnu $ sed -i '/checking the maximum length/a\
> set -x
> ' libmudflap/configure
sed: can't read libmudflap/configure: No such file or directory

~/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap $ ls -l
total 504
-rw-r--r-- 1 gzp gzp  30715 Oct  1 20:35 Makefile
-rw-r--r-- 1 gzp gzp   8728 Oct  1 20:34 config.cache
-rw-r--r-- 1 gzp gzp   7996 Oct  1 20:35 config.h
-rw-r--r-- 1 gzp gzp 102009 Oct  1 20:35 config.log
-rwxr-xr-x 1 gzp gzp  78680 Oct  1 20:35 config.status
-rwxr-xr-x 1 gzp gzp 258177 Oct  1 20:35 libtool
-rw-r--r-- 1 gzp gzp  3 Oct  1 20:34 multilib.out
drwxr-xr-x 2 gzp gzp   4096 Oct  1 20:34 pth
-rw-r--r-- 1 gzp gzp 23 Oct  1 20:35 stamp-h1
drwxr-xr-x 2 gzp gzp   4096 Oct  1 20:35 testsuite


[Bug libmudflap/38339] libtool: compile: not configured to build any kind of library

2010-10-01 Thread gzp at papp dot hu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339

--- Comment #19 from Gabor Z. Papp  2010-10-02 06:56:43 UTC 
---
(In reply to comment #15)

> make configure-target-libmudflap

make: *** No rule to make target `configure-target-libmudflap'.  Stop.


[Bug libmudflap/38339] libtool: compile: not configured to build any kind of library

2010-10-01 Thread gzp at papp dot hu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339

--- Comment #20 from Gabor Z. Papp  2010-10-02 06:58:38 UTC 
---
(In reply to comment #19)
> > make configure-target-libmudflap
> 
> make: *** No rule to make target `configure-target-libmudflap'.  Stop.

My bad. I'm building gcc in ./obj

So running make configure-target-libmudflag in obj:

$ make configure-target-libmudflap
Checking multilib configuration for libmudflap...


[Bug libmudflap/38339] libtool: compile: not configured to build any kind of library

2010-10-02 Thread gzp at papp dot hu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339

--- Comment #24 from Gabor Z. Papp  2010-10-02 07:17:33 UTC 
---
(In reply to comment #23)
> The 'make configure-target-libmudflap' log you just sent does not show the
> 'expr syntax error' failures from the log.make in comment 1 any more.  Can you
> please verify that your build error is gone now also?  Should be sufficient to
>   make all-target-libmudflap

Yes:



$ make all-target-libmudflap   
Checking multilib configuration for libmudflap...
make[1]: Entering directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2  " "CXXFLAGS=-g -O2  
-D_GNU_SOURCE  " "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2"
"INSTALL=/pkg/bin/install -c" "INSTALL_DATA=/pkg/bin/install -c -m 644"
"INSTALL_PROGRAM=/pkg/bin/install -c" "INSTALL_SCRIPT=/pkg/bin/install -c"
"JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -O2  " "LIBCFLAGS_FOR_TARGET=-g -O2"
"MAKE=make" "MAKEINFO=makeinfo --split-size=500 " "PICFLAG="
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/pkg"
"infodir=/pkg/info" "libdir=/pkg/lib" "prefix=/pkg" "includedir=/pkg/include"
"AR=ar" "AS=/home/gzp/src/gcc-4.4.5/obj/./gcc/as"
"CC=/home/gzp/src/gcc-4.4.5/obj/./gcc/xgcc -B/home/gzp/src/gcc-4.4.5/obj/./gcc/
-B/pkg/i686-pc-linux-gnu/bin/ -B/pkg/i686-pc-linux-gnu/lib/ -isystem
/pkg/i686-pc-linux-gnu/include -isystem /pkg/i686-pc-linux-gnu/sys-include"
"CXX=/home/gzp/src/gcc-4.4.5/obj/./gcc/g++ -B/home/gzp/src/gcc-4.4.5/obj/./gcc/
-nostdinc++ -nostdinc++
-I/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libstdc++-v3/include
-I/home/gzp/src/gcc-4.4.5/libstdc++-v3/libsupc++
-I/home/gzp/src/gcc-4.4.5/libstdc++-v3/include/backward
-I/home/gzp/src/gcc-4.4.5/libstdc++-v3/testsuite/util
-L/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/pkg/i686-pc-linux-gnu/bin/ -B/pkg/i686-pc-linux-gnu/lib/ -isystem
/pkg/i686-pc-linux-gnu/include -isystem /pkg/i686-pc-linux-gnu/sys-include"
"LD=/home/gzp/src/gcc-4.4.5/obj/./gcc/collect-ld" "LIBCFLAGS=-g -O2  "
"NM=/home/gzp/src/gcc-4.4.5/obj/./gcc/nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR="
all-recursive
make[2]: Entering directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap'
Making all in testsuite
make[3]: Entering directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap/testsuite'
make[3]: Entering directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap'
if /bin/sh ./libtool --tag=CC --mode=compile
/home/gzp/src/gcc-4.4.5/obj/./gcc/xgcc -B/home/gzp/src/gcc-4.4.5/obj/./gcc/
-B/pkg/i686-pc-linux-gnu/bin/ -B/pkg/i686-pc-linux-gnu/lib/ -isystem
/pkg/i686-pc-linux-gnu/include -isystem /pkg/i686-pc-linux-gnu/sys-include
-DHAVE_CONFIG_H -I. -I../../../libmudflap -I.-Wall -ffunction-sections
-fdata-sections -g -O2   -MT mf-runtime.lo -MD -MP -MF ".deps/mf-runtime.Tpo"
-c -o mf-runtime.lo ../../../libmudflap/mf-runtime.c; \
then mv -f ".deps/mf-runtime.Tpo" ".deps/mf-runtime.Plo"; else rm -f
".deps/mf-runtime.Tpo"; exit 1; fi
libtool: compile: not configured to build any kind of library
libtool: compile: See the libtool documentation for more information.
libtool: compile: Fatal configuration error.
make[3]: *** [mf-runtime.lo] Error 1
make[3]: Leaving directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap'
make: *** [all-target-libmudflap] Error 2


[Bug bootstrap/45868] New: --disable-shared --enable-static --enable-shared=libstdc++ doesn't build shared libstdc++

2010-10-02 Thread gzp at papp dot hu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45868

   Summary: --disable-shared --enable-static
--enable-shared=libstdc++ doesn't build shared
libstdc++
   Product: gcc
   Version: 4.4.6
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: g...@papp.hu


This is a continue of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339

--disable-shared --enable-static --enable-shared=libstdc++
doesn't build shared libstdc++.so


[Bug bootstrap/45868] --disable-shared --enable-static --enable-shared=libstdc++ doesn't build shared libstdc++

2010-10-02 Thread gzp at papp dot hu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45868

--- Comment #1 from Gabor Z. Papp  2010-10-02 15:03:55 UTC 
---
BTW somewhere I read, that shared libstdc++ needs shared libgcc_s.so,
probably thats the problem, since this configuration build static libgcc_s
only.