All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP]  64bit ld terminates for time01.c & write04.c
@ 2015-11-30 13:34 $rik
  2015-11-30 17:12 ` Cyril Hrubis
  0 siblings, 1 reply; 3+ messages in thread
From: $rik @ 2015-11-30 13:34 UTC (permalink / raw)
  To: ltp

Hi LTP,

I'm trying to cross compile the LTP to ARM 64bit and i am using
aarch64-linux-gnu- tool chain for cross compiling. Entire LTP got
compiled successfully except time01 and write04 tests due to ld
returned with signal 11 and core is not dumped either for debugging.
So i have collected strace for reference and attached is for time01.

aarch64-linux-gnu-gcc-4.8 -static -g -O2 -fno-strict-aliasing -pipe
-Wall -W -Wold-style-definition
-I/home/Srikanth/ltp-working/testcases/kernel/include
-I../../../include -I../../../include -static -pthread  -L../../../lib
 time01.c   -lltp -o time01
collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped
make: *** [time01] Error 1

This issue is seen only for time01.c and write04.c Does these tests
really require some sort with 64bit? Or do i need some workarounds for
64bit arch?

-- 
Thanks & Regards,
M.Srikanth Kumar.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace.log
Type: application/octet-stream
Size: 1676643 bytes
Desc: not available
URL: <http://lists.linux.it/pipermail/ltp/attachments/20151130/6c446b65/attachment-0001.obj>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LTP] 64bit ld terminates for time01.c & write04.c
  2015-11-30 13:34 [LTP] 64bit ld terminates for time01.c & write04.c $rik
@ 2015-11-30 17:12 ` Cyril Hrubis
  2015-12-01  2:15   ` $rik
  0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2015-11-30 17:12 UTC (permalink / raw)
  To: ltp

Hi!
> I'm trying to cross compile the LTP to ARM 64bit and i am using
> aarch64-linux-gnu- tool chain for cross compiling. Entire LTP got
> compiled successfully except time01 and write04 tests due to ld
> returned with signal 11 and core is not dumped either for debugging.
> So i have collected strace for reference and attached is for time01.
> 
> aarch64-linux-gnu-gcc-4.8 -static -g -O2 -fno-strict-aliasing -pipe
> -Wall -W -Wold-style-definition
> -I/home/Srikanth/ltp-working/testcases/kernel/include
> -I../../../include -I../../../include -static -pthread  -L../../../lib
>  time01.c   -lltp -o time01
> collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped
> make: *** [time01] Error 1

Most likely you have found a bug in your binutils (which is the package
the ld comes from) and this is a wrong mailing list to report the
problem to, try mailing list or bugzilla listed at
https://www.gnu.org/software/binutils/.

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LTP] 64bit ld terminates for time01.c & write04.c
  2015-11-30 17:12 ` Cyril Hrubis
@ 2015-12-01  2:15   ` $rik
  0 siblings, 0 replies; 3+ messages in thread
From: $rik @ 2015-12-01  2:15 UTC (permalink / raw)
  To: ltp

Thank You Cyril. I will follow up with binutils.

On Mon, Nov 30, 2015 at 10:42 PM, Cyril Hrubis <chrubis@suse.cz> wrote:
> Hi!
>> I'm trying to cross compile the LTP to ARM 64bit and i am using
>> aarch64-linux-gnu- tool chain for cross compiling. Entire LTP got
>> compiled successfully except time01 and write04 tests due to ld
>> returned with signal 11 and core is not dumped either for debugging.
>> So i have collected strace for reference and attached is for time01.
>>
>> aarch64-linux-gnu-gcc-4.8 -static -g -O2 -fno-strict-aliasing -pipe
>> -Wall -W -Wold-style-definition
>> -I/home/Srikanth/ltp-working/testcases/kernel/include
>> -I../../../include -I../../../include -static -pthread  -L../../../lib
>>  time01.c   -lltp -o time01
>> collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped
>> make: *** [time01] Error 1
>
> Most likely you have found a bug in your binutils (which is the package
> the ld comes from) and this is a wrong mailing list to report the
> problem to, try mailing list or bugzilla listed at
> https://www.gnu.org/software/binutils/.
>
> --
> Cyril Hrubis
> chrubis@suse.cz



-- 
Thanks & Regards,
M.Srikanth Kumar.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-01  2:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-30 13:34 [LTP] 64bit ld terminates for time01.c & write04.c $rik
2015-11-30 17:12 ` Cyril Hrubis
2015-12-01  2:15   ` $rik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.