[LTP] [RFC] [PATCH] lib32: Add support for linking 32bit programs on 64bit

Richard Palethorpe rpalethorpe@suse.com
Wed Mar 29 11:37:54 CEST 2017


Hello Metan,

On Tue, 28 Mar 2017 17:46:47 +0200
"Cyril Hrubis" <chrubis@suse.cz> wrote:
> 
> Try with this condition instead of the above ifeqs:
> 
> $(MAKE_TARGETS): LDFLAGS += -L$(top_builddir)/lib$(subst -m,,$(filter -m32,$(CFLAGS)))
> 
> It's a bit hairy but seems to work.
> 

It works (if added after MAKE_TARGETS is defined ofcourse) and also I
symlinked in the safe socket lib, so the test now compiles and runs fine, at
least on x86_64 SUSE.

I will try it on SLE-11 SP4 i586.

Thank you,
Richard.


More information about the ltp mailing list