Mail archive
alpine-user

[alpine-user] issues with compiler & crt

From: Riccardo Mottola <riccardo.mottola_at_libero.it>
Date: Fri, 22 Feb 2019 02:39:10 +0100

Hi,

I am trying to compile ArcticFox on Alpine (a PaleMoon / FireFox port
which has proven quite portable)
It is best compiled with gcc 4.8 to 6.5, so I installed gcc6

configure fails for me with:

  0:34.35 configure:3177: checking for gcc
  0:34.36 configure:3290: checking whether the C compiler (gcc-6 ) works
  0:34.36 configure:3306: gcc-6 -o conftest conftest.c 1>&5
  0:34.37 Warning: -Wimplicit-int in configure: return type defaults to
'int'
  0:34.38 configure:3303:1: warning: return type defaults to 'int'
[-Wimplicit-int]
  0:34.38
/usr/lib/gcc/i586-alpine-linux-musl/6.4.0/../../../../i586-alpine-linux-musl/bin/ld:
cannot find Scrt1.o: No such file or directory
  0:34.38
/usr/lib/gcc/i586-alpine-linux-musl/6.4.0/../../../../i586-alpine-linux-musl/bin/ld:
cannot find crti.o: No such file or directory
  0:34.38
/usr/lib/gcc/i586-alpine-linux-musl/6.4.0/../../../../i586-alpine-linux-musl/bin/ld:
cannot find -lssp_nonshared
  0:34.38 collect2: error: ld returned 1 exit status
  0:34.38 configure: failed program was:
  0:34.38
  0:34.38 #line 3301 "configure"
  0:34.39 #include "confdefs.h"
  0:34.39
  0:34.39 main(){return(0);}
  0:34.39 configure: error: installation or configuration problem: C
compiler cannot create executables.

Suggestions?

Riccardo


---
Unsubscribe:  alpine-user+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-user+help_at_lists.alpinelinux.org
---
Received on Fri Feb 22 2019 - 02:39:10 UTC