HI,

happy to hear you could install that older ISO. Maybe it had some -m32 
imperfection, I fine tuned and patch so much since then.
Can you try the 21.5 ISO that should have many many fixes and improvements 
since then?

        René

> On 20. May 2021, at 12:30, Michael McAllister <[email protected]> 
> wrote:
> 
> 
> I was able to solve this problem myself by forcing the compiler to use
> 32-bit, see below patch. Not sure how to reasonably contribute this as
> it's PPC64 specific:
> 
> 
> Index: misc/luabash/Makefile
> ===================================================================
> --- misc/luabash/Makefile (revision 52416)
> +++ misc/luabash/Makefile (working copy)
> @@ -34358414820,30098382898 +12918513714,30098382898 @@
> X_OUTTOP=../../src
> libdir=$(X_OUTTOP)
> 
> -CFLAGS = -Wall -O2 -s -fPIC
> +CFLAGS = -m32  -Wall -O2 -s -fPIC
> #CFLAGS = -Wall -O0 -ggdb -fPIC
> 
> # ExactBuild does use CXX to link a .so right now
> @@ -25768480228,12918513714 +51573219378,21508448306 @@
> 
> MODULES = lua bash
> include $(addsuffix /Makefile,$(MODULES))
> Index: misc/luabash/lua/Makefile
> ===================================================================
> --- misc/luabash/lua/Makefile (revision 52416)
> +++ misc/luabash/lua/Makefile (working copy)
> @@ -30063447172,21508448306 +21508448306,25803415602 @@
> BINARY = lua
> BINARY_EXT = $(X_LIBEXT)
> DEPS =
> +LD_FLAGS += -melf32ppc
> 
> include build/bottom.make
> 
> On Thu, May 20, 2021 at 3:32 PM Michael McAllister
> <[email protected]> wrote:
>> 
>> Hello,
>> 
>> I've recently installed T2 SDE on the PS3 successfully from the
>> following ISO: 
>> https://dl.t2sde.org/binary/2018/t2-minimal-desktop-ppc64-32-r47324_smaller2.iso
>> 
>> I am now attempting to update packages to hopefully install a newer
>> kernel, however run into an issue when attempting to run
>> ./scripts/Config and receive the below error
>> 
>> ---
>> root@localhost:/home/t2/trunk# ./scripts/Config
>> Aquiring config write lock (may take until other configs finished) ...
>> T2 21-svn configuration ...
>> Building src/luabash.so.
>> LINK LIB  /home/t2/trunk/src/Linux-ppc64/lua/lua.a
>> ld: relocatable linking with relocations from format elf32-powerpc
>> (/home/t2/trunk/src/Linux-ppc64/lua/lapi.o) to format elf64-powerpc
>> (/home/t2/trunk/src/Linux-ppc64/lua/lua.a) is not supported
>> make: *** [build/bottom.make:65:
>> /home/t2/trunk/src/Linux-ppc64/lua/lua.a] Error 1
>> Error building the Lua bash accelerator.
>> root@localhost:/home/t2/trunk#
>> ---
>> 
>> I have also attached verbose logging (running bash -x).
>> 
>> Does anyone have any tips on how to get this working? I'm happy to
>> contribute a fix, I just don't know what the fix is :-)
> 
> 
> 
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2

-- 
ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin, https://exactcode.com
https://exactscan.com | https://ocrkit.com | https://t2sde.org | 
https://rene.rebe.de



-- 
 ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin, https://exactcode.com
 https://exactscan.com | https://ocrkit.com | https://t2sde.org | 
https://rene.rebe.de

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to