[parisc-linux] unaligned access using bash on glibc 2.5
John David Anglin
dave at hiauly1.hia.nrc.ca
Sun May 6 14:14:57 MDT 2007
> Yes, I fixed this in my local tree already. For some reason we aren't
> liking in libgcc_s.so.
>
> http://www.parisc-linux.org/~carlos/2007-05-06-nptl.diff
>
> Dave, are our specs broken in gcc?
Don't think so.
The link command specifies -nostdlib and -lgcc. The former means
that gcc shouldn't provide any standard libraries. The latter links
against libgcc.a. It doesn't have the unwind stuff. You need to
either add -lgcc_eh or use -lgcc_s in the link command.
The default for the gcc driver is to link using the archive version
of libgcc. You can add --shared-libgcc to cause it to use the shared
version. The g++ driver uses the shared version by default. Of
course, this doesn't happen when -nostdlib is specified.
Dave
--
J. David Anglin dave.anglin at nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the parisc-linux
mailing list