Such as this one:

bash-3.2$ pwd
/media/0A/natamar-distro-generator/natamar/open-src/on-src/build_32/usr/src
bash-3.2$ cd 
/media/0A/natamar-distro-generator/natamar/open-src/on-src/build_32/usr/src/uts/sun4u/opl/platmod
bash-3.2$ make
/usr/ccs/bin/ld -o ./obj64/libplatmod.so -G obj64/platmod -h misc/platmod
ld: fatal: relocation error: R_SPARC_RELATIVE: file obj64/platmod: symbol .text 
(section): offset 0x488c is non-aligned
ld: fatal: relocation error: R_SPARC_RELATIVE: file obj64/platmod: symbol .text 
(section): offset 0x4894 is non-aligned
ld: fatal: relocation error: R_SPARC_RELATIVE: file obj64/platmod: symbol .text 
(section): offset 0x489c is non-aligned
*** Error code 1
make: Fatal error: Command failed for target `obj64/libplatmod.so'
Current working directory 
/media/0A/natamar-distro-generator/natamar/open-src/on-src/build_32/usr/src/uts/sun4u/opl/platmod
*** Error code 1
The following command caused the error:
BUILD_TYPE=OBJ64 VERSION='Natamar' make  all.targ
make: Fatal error: Command failed for target `all.obj64'
Current working directory 
/media/0A/natamar-distro-generator/natamar/open-src/on-src/build_32/usr/src/uts/sun4u/opl/platmod
bash-3.2$

Looks like I could add .align 4 before the instructions?
Okay, this is not X11-relevant, when I have the solution I contact on-src.

Reply via email to