Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Peter Schorn
Subject: Undefined local symbol error with gpc20060325 on gcc-4.0.3
Date: 17 Mar 2007, 11:11:23
I have built gpc20060325 with gcc-4.0.3 on OS X (PowerPC) basically just from the available sources (gcc-core-4.0.3.tar.bz2 and gpc-20060325.tar.bz2). The only patch I applied was related to building a shared library (see the modified gcc-4.0.3/gcc/p/rts/Makefile.in in the attachment). Compiling the attached program "test.pas" yields an assembler error: peter% /Developer/Pascal/gpc403/bin/gpc --version gpc 20060325, based on gcc-4.0.3 ... peter% /Developer/Pascal/gpc403/bin/gpc -mdynamic-no-pic -Os -save-temps --nonlocal-exit -c test.pas test.s:unknown:Undefined local symbol L2 In this particular case this seems to be due to the combination of -Os and --nonlocal-exit but I have seen the same error message also for -O0 (together with --nonlocal-exit) for more complex programs. Can anyone shed light on this problem? Best regards, Peter Schorn
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).