On Tue, 2008-10-21 at 02:19 -0700, CAI Qian wrote: > Hi, > > This patch fixes the ld01 test failure on x86_64, > > Assertion 1 .................. > -) > Assertion 2 .................. > -) > Assertion 3 .................. > -) > Assertion 4 .................. > -) > Assertion 5 .................. > ld: f1.o: relocation R_X86_64_32 against `a local symbol' can not be used > when making a shared > object; recompile with -fPIC > f1.o: could not read symbols: Bad value > FAIL - ld failed to build a shared object > > Signed-off-by: Jeff Burke <[EMAIL PROTECTED]> > Signed-off-by: CAI Qian <[EMAIL PROTECTED]> > > --- testcases/commands/ade/ld/Makefile.orig 2008-10-21 17:17:58.000000000 > +0800 > +++ testcases/commands/ade/ld/Makefile 2008-10-21 17:18:10.000000000 +0800 > @@ -1,4 +1,4 @@ > -CFLAGS += -O -Wall > +CFLAGS += -O -Wall -fPIC
Thanks. This is required. Regards-- Subrata > LOADLIBES += > > SRCS=$(wildcard *.c) > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
