[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] strange behaviour
From: |
Elf |
Subject: |
[Chicken-janitors] strange behaviour |
Date: |
Wed, 23 Jan 2008 16:16:58 -0800 (PST) |
strange behaviour happens in the following case:
1) have an older version of chicken installed in SOMEPREFIX
2) make ARCH=linux PREFIX=SOMEPREFIX bootstrap
3) make ARCH=linux PREFIX=SOMEPREFIX check
the rpath, include, and link options cause the above to fail horribly.
when i did some scary mods to disable the rpath options (-Wl,-RLIB_PREFIX) in
the default link options in the case of -L appearing on command line, it worked.
when i moved the old libs, headers, and executables, it also works.
this is very strange behaviour. rpath args should only be enabled when there
arent relative paths as -L or -I options. also, the ordering of the options
is quite bad... as it currently stands, the version of libchicken etc in
LIBPREFIX will ALWAYS be the one linked to, because the -l args follow the
-LLIBPREFIX, instead of following any user-defined -L options. also, the -I
compiler options do not do what is expected: any command-line args should
preserve ordering and come before any default paths. this is not the current
case.
i have some fixes for this but theres a decent change they will break lots of
things, and theyre very ad-hoc and kludgy.
what should be done?
-elf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-janitors] strange behaviour,
Elf <=