Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
200.5 install on Centrino-Laptop : cannot create executables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
thurisaz
n00b
n00b


Joined: 02 Mar 2005
Posts: 67
Location: Bochum, Germany

PostPosted: Wed Jun 08, 2005 9:46 am    Post subject: 200.5 install on Centrino-Laptop : cannot create executables Reply with quote

Hi everybody,
since 3 days I'm the owner of a brand new Toshiba Satellite L10-P190. I have quite good gentoo experience, therefore I tried to install gentoo on this laptop.

My partitioning looks like this:
Code:

/dev/hda1: Windows XP (primary)
/dev/hda2: Windows FAT32 (primary)
/dev/hda3: 40MB-Linux-Boot-Partiton
/dev/hda4: W'95 extended
/dev/hda5: 512MB linux should be  used for swap
/dev/hda6: 6GB should be used as data disc for linux
/dev/hda7: 30GB should be used for /


first I tried a stage1 installation but I couldn't process the bootstrapping because the first package to emerge (I think it was texinfo) failed because the compiler said something like "cannot create executables". I search a little bit in the forum, played a little bit with my cflags, but not even a
Code:
CFLAGS="" scripts/bootstrap.sh

solved this problem!

Therefore I tried a stage 3 installation and everything (also compiling the kernel) went well. But when I reached the point of the stage3-installatin on which you have to emerge something for the first time I also experienced the same problem: emerge fails because of "cannot create executables". Now I have no idea what I am doing wrong...

It seems like not beeing a cflag-problem, but what else can I do? Could it be a wrong partitioning? I simply can not emerge anything during the gentoo installation.. what can I do???
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Jun 08, 2005 10:21 am    Post subject: Reply with quote

The reason for it failing will be in the config log, which will be somewhere like /var/tmp/portage/work/texinfo-<version>/work/texinfo-<version>. Can you post about 10 lines around the error so we can see what's going on?
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
thurisaz
n00b
n00b


Joined: 02 Mar 2005
Posts: 67
Location: Bochum, Germany

PostPosted: Wed Jun 08, 2005 10:51 am    Post subject: Reply with quote

this is the config-file from the first emerging-process of my stage3-installation: "emerge syslog-ng"
Code:

tail -n 50 config.log
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP='strip'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='/var/tmp/portage/libol-0.3.16/work/libol-0.3.16/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var/lib'
mandir='/usr/share/man'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 77


does this help?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Jun 08, 2005 11:36 am    Post subject: Reply with quote

Ah, the actual error is above that... it'll be the line saying something like "configure:2159: checking for C compiler default output file name", and the interesting bit comes after that. :wink:
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
thurisaz
n00b
n00b


Joined: 02 Mar 2005
Posts: 67
Location: Bochum, Germany

PostPosted: Wed Jun 08, 2005 12:08 pm    Post subject: Reply with quote

what is about this?

Code:

Yggdrasil thurisaz # cat /mnt/usbstick/config.log | grep "checking for C compiler default output file name" -A 50
configure:2325: checking for C compiler default output file name
configure:2328: i686-pc-linux-gnu-gcc -O2 -march=pentium3 -fomit-frame-pointer  -W1,-O1 conftest.c  >&5
cc1: error: unrecognized option `-W1,-O1'
configure:2331: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2370: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=pentium3 -fomit-frame-pointer'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -march=pentium3 -fomit-frame-pointer'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-W1,-O1
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
Yggdrasil thurisaz #                                                                                             



the "cc1: error: unrecognized option `-W1,-O1' " comes from my make.conf: LDFLAGS="-Wl,-O1" I took this option from my desktop-pc make.conf... why is it wrong?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Jun 08, 2005 12:21 pm    Post subject: Reply with quote

Hmm... using those LDFLAGS works on my machine. Does it work if you remove the LDFLAGS entirely?
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
thurisaz
n00b
n00b


Joined: 02 Mar 2005
Posts: 67
Location: Bochum, Germany

PostPosted: Wed Jun 08, 2005 12:24 pm    Post subject: Reply with quote

oh... I think I should take "LDFLAGS="-Wl,-O1" instead of "LDFLAGS="-W1,-O1" shouldn't I??? :oops:
Back to top
View user's profile Send private message
thurisaz
n00b
n00b


Joined: 02 Mar 2005
Posts: 67
Location: Bochum, Germany

PostPosted: Wed Jun 08, 2005 12:46 pm    Post subject: Reply with quote

aaahhh :D

thank you very much Maedhros for pointing me to right direction: the `-W1,-O1' "-write-error was the problem. I've changed it to LDFLAGS="-Wl,-O1" and now it works... I think I'll retry a stage1-installation now :P
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Jun 08, 2005 12:50 pm    Post subject: Reply with quote

Ah, glad you've got it working. :D
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
thurisaz
n00b
n00b


Joined: 02 Mar 2005
Posts: 67
Location: Bochum, Germany

PostPosted: Wed Jun 08, 2005 1:24 pm    Post subject: Reply with quote

and I found another issue: the -march=pentium-m does not work because the live-cd uses gcc 3.3 and pentium-m is only supported at gcc 3.4... so I'll have to bootstrap with -march=pentium3 but that's not so evil...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum