Markus Heidt wrote:
> Hi Marc,
> 
> Thanks for the amazingly quick response.
> 
>> ptxdist:
>> http://git.pengutronix.de/?p=mkl/ptxdist.git;a=shortlog;h=refs/heads/dev/osx
>>
> The configure script is missing. I only found a autoconf config.ac.
> I copied a configure of the other distributions into the directory...

just run ./autogen.sh, and you'll find a configure.

> The /opt/local/sbin path is upfront now.

>>> sudo make install
>>> throws error-code at the end, but ptxdist was created
>>> which ptxdist
>>> /usr/local/bin/ptxdist
>>>
>>> seems to be ok !?
>>
>> which command does fail?
> 
> 
> 
> 
>> BTW: installing isn't needed. Put
>> "ptdist-1.99.19.1/bin" in path, or link the ptxdist script into your
>> project (the OSELAS.Toolchain dir).
> ptxdist works in the project though, so the install must have worked.
> 
>> fixed in dev/osx...
> Yes, I can confirm that all my patches in the scripts aren't necessary
> anymore.
> 
>> It's better to work on a case sensitive disk, but I disabled the test in
>> dev/osx
> Ok, now I'm using a case sensitive disk.
> 
>>> checking for ld --version-script... no
>>> *** WARNING: You should not compile GNU libc without versioning. Not
>>> using
>>> *** versioning will introduce incompatibilities so that old binaries
>>> *** will not run anymore.
>>> *** For versioning you need recent binutils (binutils-2.8.1.0.23 or
>>> newer).
>>> checking for .previous assembler directive... no
>>> checking for .popsection assembler directive... no
>>> checking for .protected and .hidden assembler directive... (cached) yes
>>> checking whether __attribute__((visibility())) is supported...
>>> (cached) yes
>>> checking for broken __attribute__((visibility()))... (cached) no
>>> checking for broken __attribute__((alias()))... (cached) no
>>> checking whether to put _rtld_local into .sdata section... (cached) yes
>>> checking for powerpc-603e-linux-gnu-readelf... no
>>> checking for .preinit_array/.init_array/.fini_array support...
>>> (cached) yes
>>> checking for libunwind-support in compiler... no
>>> checking for -z nodelete option... (cached) yes
>>> checking for -z nodlopen option... (cached) yes
>>> checking for -z initfirst option... (cached) yes
>>> checking for -z relro option... no
>>> configure: error: linker with -z relro support required
>>> make: ***
>>> [/Volumes/ptx/OSELAS.Toolchain-1.99.3.6/platform-powerpc-603e-linux-gnu-gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized/state/glibc-headers.prepare]

okay...I'll try to make a patch, although that OSX laptop just currently
on a train :) So I'm doing it blindfold.

>> I managed to compile half way though the first gcc stage, then the
>> laptop and the person using it went sleeping.
> 
>> Tell me how far you got.
> Unfortunately it  hangs at the zelro again.
> 
> But I'm using OS X 10.5
> If you tell me, that OS X 10.6 gets through, I could use a 10.6 machine
> as well.

> So far those machines aren't used as mediacenter and by my wife, so that
> these weren't my prefered environments.
> I checked for a better ld or as though, which is still no 2.x version.
> Therefore I guess, that you are getting stuck there as well.

No, we just have to fool glibc's configure script :)

> Again thanks a lot for the quick help,

cheers, Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

--
ptxdist mailing list
[email protected]

Reply via email to