Aleph: mix module make issue (mix.lds incomplete?) [SOLVED]

Hello!

I apologize if this has already been addressed, or should be posted someplace else.

Steps to reproduce issue:

make and/or make deploy return an error in aleph/modules/mix:

/opt/uClinux/bfin-elf/bfin-elf/bin/ld.real: error: no memory region specified for loadable section .text

What I attempted:

after comparing the .lds file for aleph/modules/mix with the one for aleph/modules/lines it appeared that aleph/modules/mix/mix.lds was missing information after approx. line 25, or so.

I copied aleph/modules/lines/lines.lds to aleph/modules/mix, then renamed to aleph/modules/mix/mix.lds.

Running make clean , then make deploy returned no errors, and everything appears to be OK.

BUT, will this break/damage/melt Aleph?

Setup details:

gcc version 4.9.4 (GCC)

(This was the oldest version I could build.)

Thank you!

thanks! mix.lds does look incomplete. though lines.lds also has some extraneous stuff (i don’t think we need all those SECTION entries especially if we’ll never use GDB.)

no, it won’t damage anything. feel free to PR!

1 Like

Thank you!

(…sorry for being overly cautious.)