Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
A question about Devkitadv5 beta3   Message List  
Reply | Forward Message #14512 of 15019 |
Re: A question about Devkitadv5 beta3


Hi Jason,

I have been trying to use the custom linkscript and crt0 from the
project - they are Jeff Frohweins ones

I think there is a makefile issue - i have managed to get further by
removing all the instances of crt0.o from the devkit folders.

I still have a problem however:

....
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\bin\ld.exe: section .iwram [0807048c
-> 08070b97] overlaps section .ctors [08070480 -> 0807049f]
collect2: ld returned 1 exit status
f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
\..\..\..\..\arm-agb-elf\bin\ld.exe: section .iwram [0807048c
-> 08070b97] overlaps section .ctors [08070480 -> 0807049f]
make: *** [EOD_demo.elf] Error 1

is this related to the crt0/linkskript problem?

thanks

Col

--- In gbadev@yahoogroups.com, Jason Wilkins <fenix@i...> wrote:
> The crt0.S and link script are intimately related and you should
not use
> one without the other.
>
> If you are porting a project which uses its own crt0.S, then make
sure you
> also use your customized link script. If you were using the built
in
> link script and your own crt0.S, then copy the old link script and
use it
> explicitly.
>
> I would recommend from here on out that you then explicitely
specify both
> the crt0.S and link script. You should explicitly specify either
both or
> neither, since they go hand in hand.
>
>
> On Wed, 3 Sep 2003, Colin Brown wrote:
>
> >
> > Hi,
> >
> > I have a couple of questions about the latest incarnation of
> > devkitadv.
> >
> > On our project, we're still using devkitadv 3(i think? gcc
3.0.2),
> > and it has served well up untli now.
> > I have got to a stage where the problem with pointers to member
> > functions and inteworking is getting very troublesome:
> > dereferencing a pointer to member function fails if the function
is
> > compiled as thumb.
> >
> > Q. is this fixed in the latest version?
> >
> > If so :) is there a list anywhere of the changes - particularly
to
> > system variables that the linkscript/crt0 uses... I tried to get
> > version5 to compile our project, but when i eventually sorted out
all
> > the mingw environment problems, i got a stream of errors:
> >
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\bin\ld.exe: section .iwram [08070af4
> > -> 080710f7] overlaps section .footer [08070af4 -> 08070aff]
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\lib\interwork\crt0.o: In function `_
> > _crt0_multiboot_start':
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0xe0): un
> > defined reference to `__load_start_footer'
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\lib\interwork\crt0.o: In function `_
> > _crt0_reset':
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0x1c0): u
> > ndefined reference to `__memmap_rom_start'
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0x1d8): u
> > ndefined reference to `__appended_start'
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0x1e4): u
> > ndefined reference to `__load_start_data'
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0x1e8): u
> > ndefined reference to `__load_stop_data'
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0x1f8): u
> > ndefined reference to `__load_start_ewram'
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.text+0x204): u
> > ndefined reference to `__load_start_iwram'
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.footer+0x0): u
> > ndefined reference to `__load_stop_appended'
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.footer+0x4): u
> > ndefined reference to `__load_start_appended'
> > f:\devkitadv-r5-beta-3\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2
> > \..\..\..\..\arm-agb-elf\lib\interwork\crt0.o(.footer+0x8): u
> > ndefined reference to `__load_stop_appended'
> > collect2: ld returned 1 exit status
> > make: *** [EOD_demo.elf] Error 1
> >
> > cheers
> >
> > Col
> >
> >
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
>
> --
> The Phoenix - NekoCo - The Artistic Intuition Company
> DevKitAdvance*MirrorReflex*Teapot*PhoenixQuake*Caelius*Zen-
X*InfiniteRealms





Wed Sep 3, 2003 8:15 pm

colinraybrown
Offline Offline
Send Email Send Email

Forward
Message #14512 of 15019 |
Expand Messages Author Sort by Date

Hi, I have a couple of questions about the latest incarnation of devkitadv. On our project, we're still using devkitadv 3(i think? gcc 3.0.2), and it has...
Colin Brown
colinraybrown
Offline Send Email
Sep 3, 2003
6:15 pm

The crt0.S and link script are intimately related and you should not use one without the other. If you are porting a project which uses its own crt0.S, then...
Jason Wilkins
fenix@...
Send Email
Sep 3, 2003
7:46 pm

Hi Jason, I have been trying to use the custom linkscript and crt0 from the project - they are Jeff Frohweins ones I think there is a makefile issue - i have...
Colin Brown
colinraybrown
Offline Send Email
Sep 4, 2003
12:58 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help