public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/10140: Cross-compiling gcc 3.3 for sh-elf: gnu-regex.c:undefined reference to: ___mempcpy
@ 2003-04-25 15:17 ghazi
  0 siblings, 0 replies; 3+ messages in thread
From: ghazi @ 2003-04-25 15:17 UTC (permalink / raw)
  To: areuwho, gcc-bugs, gcc-prs, nobody

Synopsis: Cross-compiling gcc 3.3 for sh-elf: gnu-regex.c:undefined reference to: ___mempcpy

State-Changed-From-To: open->closed
State-Changed-By: ghazi
State-Changed-When: Fri Apr 25 15:17:10 2003
State-Changed-Why:
    Fixed in 3.3, too late for 3.2.3.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10140


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

* Re: bootstrap/10140: Cross-compiling gcc 3.3 for sh-elf: gnu-regex.c:undefined reference to: ___mempcpy
@ 2003-03-19 12:56 Paras Rasmatazz
  0 siblings, 0 replies; 3+ messages in thread
From: Paras Rasmatazz @ 2003-03-19 12:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR bootstrap/10140; it has been noted by GNATS.

From: "Paras Rasmatazz" <paras.rasmatazz@gmx.net>
To: <gcc-gnats@gcc.gnu.org>,
	<areuwho@freenet.de>,
	<gcc-bugs@gcc.gnu.org>,
	<nobody@gcc.gnu.org>,
	<gcc-prs@gcc.gnu.org>
Cc:  
Subject: Re: bootstrap/10140: Cross-compiling gcc 3.3 for sh-elf: gnu-regex.c:undefined reference to: ___mempcpy
Date: Wed, 19 Mar 2003 13:46:55 +0100

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0003_01C2EE1E.00D5DB00
 Content-Type: text/plain;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&database=3D=
 gcc&pr=3D10140
 ------=_NextPart_000_0003_01C2EE1E.00D5DB00
 Content-Type: text/html;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <HTML><HEAD>
 <META http-equiv=3DContent-Type content=3D"text/html; =
 charset=3Diso-8859-1">
 <META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
 <STYLE></STYLE>
 </HEAD>
 <BODY bgColor=3D#ffffff>
 <DIV>&nbsp;</DIV><A=20
 href=3D"http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&a=
 mp;database=3Dgcc&amp;pr=3D10140">http://gcc.gnu.org/cgi-bin/gnatsweb.pl?=
 cmd=3Dview%20audit-trail&amp;database=3Dgcc&amp;pr=3D10140</A></BODY></HT=
 ML>
 
 ------=_NextPart_000_0003_01C2EE1E.00D5DB00--
 


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

* bootstrap/10140: Cross-compiling gcc 3.3 for sh-elf: gnu-regex.c:undefined reference to: ___mempcpy
@ 2003-03-18 20:26 areuwho
  0 siblings, 0 replies; 3+ messages in thread
From: areuwho @ 2003-03-18 20:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10140
>Category:       bootstrap
>Synopsis:       Cross-compiling gcc 3.3 for sh-elf: gnu-regex.c:undefined reference to: ___mempcpy
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 18 20:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     areuwho@freenet.de
>Release:        gcc-3.3 (snapshot 20030317)
>Organization:
>Environment:
linux-2.4.19, host binutils 2.13.2.1, host gcc 2.95.2 (also tried with 3.3)
>Description:
I'm having trouble cross-compiling the newest gcc-snapshot for the sh-elf (dreamcast) target. Here's my configure:

In the BUILD-GCC directory:

../gcc-20030317/configure --target=sh-elf --prefix=/usr/local/dc --without-headers --with-newlib --enable-languages=c

after typing make all, it gives me this output after compiling various things:

make[2]: Entering directory `/gcc/build-gcc/gcc/fixinc'
gcc -DIN_GCC -DHAVE_CONFIG_H -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrit
e-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -
Wno-long -long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -I. -I.. -I../../../gcc-20030317/gcc/fixinc -I../../../gcc-20030317/gcc/fixinc/.. -I../../../gcc-20030317/gcc/fixinc/../config -I../../../gcc-2003031
7/gcc/fixinc/../../include  -o fixincl.exe fixincl.o fixtests.o fixfixes.o server.o procopen.o gnu-regex.o fixlib.o ../../libiberty/libiberty.a
gnu-regex.o(.text+0x6556): In function `regerror':
/gcc/build-gcc/gcc/fixinc/../../../gcc-20030317/gcc/fixinc/gnu-regex.c:5723:undefined reference to `___mempcpy'
collect2: ld returned 1 exit status
make[2]: *** [full-stamp] Error 1
make[2]: Leaving directory `/gcc/build-gcc/gcc/fixinc'
make[1]: *** [fixinc.sh] Error 2
make[1]: Leaving directory `/gcc/build-gcc/gcc'
make: *** [all-gcc] Error 2

I also successfully compiled the binutils (2.13.2.1) for the sh-elf target

I was following the tutorial on
http://www.hangar-eleven.de/en/devdc-index.html , except I replaced binutils-2.11.2 with version 2.13.2.1 and gcc-3.0.4 with gcc-3.3 (snapshot 20030317)
>How-To-Repeat:
reply to paras DOT rasmatazz AT gmx DOT net please
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-04-25 15:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-25 15:17 bootstrap/10140: Cross-compiling gcc 3.3 for sh-elf: gnu-regex.c:undefined reference to: ___mempcpy ghazi
  -- strict thread matches above, loose matches on Subject: below --
2003-03-19 12:56 Paras Rasmatazz
2003-03-18 20:26 areuwho

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).