pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cross compiling for evbarm on amd64



On Thu, May 23, 2019 at 08:15:28AM +0200, Roland Illig wrote:
> Remove the NOT_FOR_PLATFORM lines from lang/gcc2/Makefile and try again.
> Since these lines are uncommented and very old, it's difficult to find
> out _why_ they have been added. For exactly this reason, the latest
> pkglint warns that lines like these should always get a comment.

Thanks. The error now moves to devel/binutils:

configure: error: in `/usr/pkgsrc/devel/binutils/work/binutils-2.26.1':
configure: error: C compiler cannot create executables
See `config.log' for more details.

Some lines from the config.log around the error:

configure:4367: checking for C compiler version
configure:4376: gcc --version >&5
configure:4387: $? = 1
configure:4376: gcc -v >&5
configure:4387: $? = 1
configure:4376: gcc -V >&5
configure:4387: $? = 1
configure:4376: gcc -qversion >&5
configure:4387: $? = 1
configure:4407: checking for C compiler default output file name
configure:4429: gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include
-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib conftest.c  >&5
configure:4433: $? = 1
configure:4470: result:
configure: failed program was: 
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""  
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:4476: error: in
`/usr/pkgsrc/devel/binutils/work/binutils-2.26.1':
configure:4480: error: C compiler cannot create executables
See `config.log' for more details.

Mayuresh


Home | Main Index | Thread Index | Old Index