This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

'strip out ".." from gcc search paths' causes bootstrap failures


The patch from <http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00845.html>

causes bootstrap failures on arm-linux :

The reason is that paths are incorrectly translated :

- './' is converted to '', resulting in a '-L.' changing into '-L'
while linking, giving wrong results.

also some paths are incorreclty converted :


JDO: prefix.c:before 0x0x2cf80 '/usr/local/gcc-head-cvs/lib/gcc-lib/armv5l-unknown-linux-gnu/3.2/../../../../armv5l-unknown-linux-gnu/bin/'
JDO: prefix.c:afterwards 0x0x2cf80 '/usr/local/gcc-head-cvs/lib/gcc-lib/armv5l-unknown-linux-gnu/3..../armv5l-unknown-linux-gnu/bin/'
JDO: prefix.c:before 0x0x2d078 '/usr/local/gcc-head-cvs/lib/gcc-lib/armv5l-unknown-linux-gnu/3.2/../../../../armv5l-unknown-linux-gnu/lib/'
JDO: prefix.c:afterwards 0x0x2d078 '/usr/local/gcc-head-cvs/lib/gcc-lib/armv5l-unknown-linux-gnu/3..../armv5l-unknown-linux-gnu/lib/'
SPECS_FILE : 0x0002d4f8 './specs'
Reading specs from ./specs
JDO: prefix.c:before 0x0x31c00 './../lib/gcc-lib/armv5l-unknown-linux-gnu/3.2/../../../'
JDO: prefix.c:afterwards 0x0x31c00 '../lib/gcc-lib/armv5l-unknown-linux-gnu/3..'
JDO: prefix.c:before 0x0x31ca8 '/usr/local/gcc-head-cvs/lib/gcc-lib/armv5l-unknown-linux-gnu/3.2/../../../'
JDO: prefix.c:afterwards 0x0x31ca8 '/usr/local/gcc-head-cvs/lib/gcc-lib/armv5l-unknown-linux-gnu/3..'

looking now on how to fix this

Greetings,
--
Jeroen Dobbelaere
Embedded Software Engineer

ACUNIA Embedded Solutions
http://www.acunia.com/aes



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]