NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/45520: -pie broken, breaks some pkgsrc builds.



On Wed, Oct 26, 2011 at 11:29:51AM -0400, Christos Zoulas wrote:

> pit:~ [11:28am] 9>cc -pie hello.c -o hello
> pit:~ [11:28am] 10>./hello
> hello world
> pit:~ [11:28am] 11>file hello
> hello: ELF 32-bit LSB shared object, ARM, version 1, dynamically linked (uses 
> shared libs), for NetBSD 5.99.40, not stripped
> pit:~ [11:28am] 12>

Now - to identify what needs to be pulled up and whether this is 
possible - is this a changed kernel (exec stuff), ld.elf_so or gcc?

Here they are:

marie hello !% uname -a
NetBSD marie 5.1 NetBSD 5.1 (MARIE) #0: Wed Jan  5 20:52:48 CET 2011  
ignatios@random87:/var/itch/obj/shark/sys/arch/shark/compile/MARIE shark

marie hello !% gcc -v
Using built-in specs.
Target: arm--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure 
--enable-long-long --disable-multilib --enable-threads --disable-symvers 
--build=x86_64-unknown-netbsd4.99.72 --host=arm--netbsdelf 
--target=arm--netbsdelf --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)

Regards,
        -is


Home | Main Index | Thread Index | Old Index