Mamoru TASAKA wrote on 02/14/2018 08:21 PM:
Martin Gansser wrote on 02/14/2018 05:19 PM:
when building vdr-live for rawhide it fails [1] for ppc64le and ppc64
when adding "-Wsizeof-pointer-memaccess" to the build flags, then it fails [2]
for s390x.
%build
make CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC
-Wsizeof-pointer-memaccess" %{?_smp_mflags} all
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=25033068
[2] https://koji.fedoraproject.org/koji/taskinfo?taskID=25033656
Just a guess:
CC osd_status.o
LD libvdr-live.so
osd_status.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
may mean that ld tries to collect osd_status.o but at the timing
osd_status.o was still under build - i.e. parallel make may be failing.
Maybe disabling parallel make fixes this.
And actually disabling parallel make seems to help this:
https://koji.fedoraproject.org/koji/taskinfo?taskID=25039927
Regards,
Mamoru
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org