This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH Re-RFA] add STARTUP files to all mips linker scripts


On Thu, 2002-08-01 at 15:09, cgd@broadcom.com wrote:
> At 01 Aug 2002 15:01:03 -0400, Thomas Fitzsimmons wrote:
> > Hmmm,  have you tried running the newlib testsuite with these new ld
> > scripts?
> 
> err, yah.
> 
> For instance, enclosed below is a newlib.log from one of the runs I
> did with this patch (target mips64-elf).  Seems OK.  (mmm, running big
> builds overnight.  8-)
> 
> 
> 
> > I'm getting compile errors from multiple definitions of the
> > _start and _exit symbols.
> 
> Which target?  how old are your gcc sources?  combined tree build?
> other details?
> 
> Note that if you don't use a gcc that includes the patch in:
> 
> 	http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01590.html
> 
> (checked in on 7/29) i believe you'll get the behaviour you describe.
> 
> 
Right.  Building updated gcc as I write :)

I'll check this in now, based on your test results.

Thanks,

Tom

> 
> chris
> ==============================================================================
> Test Run By cgd on Thu Aug  1 06:26:03 2002
> Target is mips64-unknown-elf
> Host   is i686-pc-linux-gnu
> 
> 		=== newlib tests ===
> 
> Schedule of variations:
>     mips64-sim
> 
> Running target mips64-sim
> Using /home/cgd/proj/gcc-testing/combined/newlib/../dejagnu/baseboards/mips64-sim.exp as board description file for target.
> Using /home/cgd/proj/gcc-testing/combined/newlib/../dejagnu/config/sim.exp as generic interface file for target.
> Using /home/cgd/proj/gcc-testing/combined/newlib/../dejagnu/baseboards/basic-sim.exp as board description file for target.
> Using /home/cgd/proj/gcc-testing/combined/newlib/testsuite/config/default.exp as tool-and-target-specific interface file.
> Running /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.locale/UTF-8.exp ...
> Executing on host: /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/xgcc -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/ /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.locale/UTF-8.c    -I/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/targ-include -I/home/cgd/proj/gcc-testing/combined/newlib/libc/include  -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/ld -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib  -lm -Wl,-Tpmon.ld  -o /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/testsuite/UTF-8.x    (timeout = 300)
> spawn /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/xgcc -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/ /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.locale/UTF-8.c -I/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/targ-include -I/home/cgd/proj/gcc-testing/combined/newlib/libc/include -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/ld -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib -lm -Wl,-Tpmon.ld -o /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/testsuite/UTF-8.x 
> spawn /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/sim/mips/run /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/testsuite/UTF-8.x 
> Failed to set UTF-8 locale.
> FAIL: UTF-8.c: Expected: Set UTF-8 locale. Got: Failed to set UTF-8 locale. 
> testcase /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.locale/UTF-8.exp completed in 1 seconds
> Running /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.locale/locale.exp ...
> testcase /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.locale/locale.exp completed in 0 seconds
> Running /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.search/hsearchtest.exp ...
> Executing on host: /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/xgcc -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/ /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.search/hsearchtest.c    -I/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/targ-include -I/home/cgd/proj/gcc-testing/combined/newlib/libc/include  -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/ld -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib  -lm -Wl,-Tpmon.ld  -o /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/testsuite/hsearchtest.x    (timeout = 300)
> spawn /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/xgcc -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/ /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.search/hsearchtest.c -I/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/targ-include -I/home/cgd/proj/gcc-testing/combined/newlib/libc/include -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/ld -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib -lm -Wl,-Tpmon.ld -o /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/testsuite/hsearchtest.x 
> PASS: Compiled /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.search/hsearchtest.c.
> 
> spawn /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/sim/mips/run /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/testsuite/hsearchtest.x 
> PASS: /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.search/hsearchtest.c
> testcase /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.search/hsearchtest.exp completed in 0 seconds
> Running /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.stdlib/atexit.exp ...
> Executing on host: /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/xgcc -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/ /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.stdlib/atexit.c    -I/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/targ-include -I/home/cgd/proj/gcc-testing/combined/newlib/libc/include  -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/ld -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib  -lm -Wl,-Tpmon.ld  -o /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/testsuite/atexit.x    (timeout = 300)
> spawn /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/xgcc -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/ /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.stdlib/atexit.c -I/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/targ-include -I/home/cgd/proj/gcc-testing/combined/newlib/libc/include -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/ld -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib -lm -Wl,-Tpmon.ld -o /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/testsuite/atexit.x 
> spawn /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/sim/mips/run /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/testsuite/atexit.x 
> a0cba
> PASS: atexit.c
> testcase /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.stdlib/atexit.exp completed in 1 seconds
> Running /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.string/string.exp ...
> Executing on host: /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/xgcc -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/ /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.string/tstring.c    -I/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/targ-include -I/home/cgd/proj/gcc-testing/combined/newlib/libc/include  -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/ld -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib  -lm -Wl,-Tpmon.ld  -o /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/testsuite/tstring.x    (timeout = 300)
> spawn /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/xgcc -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/gcc/ /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.string/tstring.c -I/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/targ-include -I/home/cgd/proj/gcc-testing/combined/newlib/libc/include -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/ld -B/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib -L/projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib -lm -Wl,-Tpmon.ld -o /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/testsuite/tstring.x 
> PASS: Compiled /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.string/tstring.c.
> 
> spawn /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/sim/mips/run /projects/bbp_ext13/systems/users/cgd/proj/gcc-testing/work/mips64-elf.build/mips64-elf/newlib/testsuite/tstring.x 
> PASS: /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.string/tstring.c
> testcase /home/cgd/proj/gcc-testing/combined/newlib/testsuite/newlib.string/string.exp completed in 14 seconds
> 
> 		=== newlib Summary ===
> 
> # of expected passes		5
> # of unexpected failures	1
> runtest completed at Thu Aug  1 06:26:19 2002
> 
-- 
Thomas Fitzsimmons
Red Hat Canada Limited        e-mail: fitzsim@redhat.com
2323 Yonge Street, Suite 300
Toronto, ON M4P2C9


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]