ed00m / stressapptest

Automatically exported from code.google.com/p/stressapptest
Apache License 2.0
0 stars 0 forks source link

ARM cross compilation issue for pthread_barrier #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. aclocal
2. automake --gnu
3. autoconf
4. ./configure./configure --build=x86 --target=armv7a-none-linux-gnueabi 
--host=arm-none-linux-gnueabi

What is the expected output? What do you see instead?
Expected: configuration to be completed successfully.
Instead: checking for pthread_barrier... configure: error: in 
`/stressapptest-1.0.6_autoconf':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.

What version of the product are you using? On what operating system?
stressapptest-1.0.6

Please provide any additional information below.
Instead of AC_TRY_RUN perform AC_COMPILE_CHECK to check pthread_barrier.
During cross compilation, perform compilation check instead of run check for 
pthread_barrier.

Original issue reported on code.google.com by stephenp...@gmail.com on 6 Mar 2013 at 12:13

Attachments:

GoogleCodeExporter commented 9 years ago
This is already fixed in TOT, but doesn't have a versioned tarball release 
yet.. can you svn sync and rebuild with the latest source? Please reopen if 
there's still any issue.

Original comment by pud...@gmail.com on 6 Mar 2013 at 8:49

GoogleCodeExporter commented 9 years ago
Issue 27 has been merged into this issue.

Original comment by pud...@gmail.com on 6 Mar 2013 at 8:49