This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/2671] New: On powerpc the order of parameters in weak_alias is significant


The unmodified weak_alias, as shown the the weak_alias.diff patch shown below
gives compilation errors on current snapshot and CVS 2.3.6 and 2.4 glibc. The
unmodifed _equivalent_ forms on i[3456]x86 work fine.


-weak_alias (getsockname, __getsockname)
+weak_alias (__getsockname, getsockname)


The modification was tested on both glibc 2.3.6 and 2.4 snapshots over several
weeks now.

The compilations were attempted with current gcc-4.2.0 and current snapshot
binutils.

The exist a more severe problem farther down in the powerpc glibc compilation
subject of a forthcoming PR.

-- 
           Summary: On powerpc the order of parameters in weak_alias is
                    significant
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: malitzke at metronets dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: powerpc-linux-gnu
  GCC host triplet: powerpc-linux-gnu
GCC target triplet: powerpc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=2671

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]