Bug#487396: Missing link error on ARM

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Bug#487396: Missing link error on ARM

by Matthias Klose-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is this arm only, or armel as well?

  Matthias

Enrico Zini writes:

> Package: g++-4.3
> Version: 4.3.1-2
> Severity: normal
>
> Hello,
>
> while trying to investigate why libept does not build on ARM, I came up
> with the attached source code.  On any system, it gives a link time
> error while building it.  On ARM, only when invoking g++, only with
> -fPIC, it links fine, then running the program segfaults.
>
> To reproduce, install g++ 4.3 on ARM, then run:
>
>   g++-4.3 -fPIC -o main1 main1.cpp
>
> We have been working on minimising this test code since a whole day, and
> we did not manage to make it smaller than this.  Fiddling with this code
> further (like removing a template parameter, or removing the std
> namespace) makes the linker error properly appear.



--
To UNSUBSCRIBE, email to debian-arm-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...

LightInTheBox - Buy quality products at wholesale price!