[Samba] Failed building any Samba version starting with v4.10.0

Norbert Hanke norbert.hanke at gmx.ch
Thu Mar 5 20:17:06 UTC 2020


Hi,

looks like building samba 4.12.0 using the lastest raspbian buster
release with binutils updated to version 2.31.1-16+rpi2 no more has that
problem:
no .strtab invalid string offset errors anymore.

On 30.10.2019 11:06, L.P.H. van Belle via samba wrote:
> Hai,
>
> Yes, i noticed these today also in the arm build logs and my build ended...
> I ran out of space.. Arg...
> I already increased from 15 to 30GB because of the extra things im building.
> But, cleaned up and the build for 4.11.2 is running now, if have new info, i'll post it here.
>
> Greetz,
>
> Louis
>
>
>> -----Oorspronkelijk bericht-----
>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>> Norbert Hanke via samba
>> Verzonden: dinsdag 29 oktober 2019 22:07
>> Aan: samba at lists.samba.org
>> Onderwerp: Re: [Samba] Failed building any Samba version
>> starting with v4.10.0
>>
>> Hi,
>>
>> -j 1 did not help here, still that big number of "invalid
>> string offset"
>> messages.
>>
>> Is it the same on your end?
>>
>> @Rowland: same with you?
>>
>> I can work around by compiling on and using native Debian Buster
>> 64bittish aarch64, based on
>> https://people.debian.org/~gwolf/raspberrypi3/20190628/ , but I prefer
>> to stay on Raspbian if possible.
>>
>> Regards,
>> Norbert
>>
>> On 21.10.2019 13:11, L.P.H. van Belle via samba wrote:
>>> Hai,
>>>
>>> I encountered these also im the build im running atm.
>>> Try again and set -j 1, when building, which is only allow
>> 1 cpu core.
>>> Im setting/running that also after my current run.
>>>
>>>
>>> Greetz,
>>>
>>> Louis
>>>
>>>> -----Oorspronkelijk bericht-----
>>>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>>>> Norbert Hanke via samba
>>>> Verzonden: vrijdag 18 oktober 2019 0:40
>>>> Aan: samba at lists.samba.org
>>>> Onderwerp: Re: [Samba] Failed building any Samba version
>>>> starting with v4.10.0
>>>>
>>>> Hi,
>>>>
>>>> I'm also suffering from build problems starting with 4.10.0
>>>> on Raspbian.
>>>>
>>>> In my case I'm seeing build output like
>>>>
>>>> [1478/4252] Linking bin/default/auth/libcommon-auth-samba4.so
>>>> /usr/bin/ld:
>>>> /home/pi/samba-4.11.0/bin/default/source4/lib/messaging/libMES
>>>> SAGING-SEND-samba4.so:
>>>> invalid string offset 1094 >= 1071 for section `.strtab'
>>>>
>>>> [1978/4252] Linking bin/default/source3/libsamba-passdb.so
>>>> /usr/bin/ld:
>>>>
>> /home/pi/samba-4.11.0/bin/default/source3/libsmbldaphelper-samba4.so:
>>>> invalid string offset 2623 >= 1809 for section `.strtab'
>>>> /usr/bin/ld:
>>>> /home/pi/samba-4.11.0/bin/default/source4/lib/messaging/libMES
>>>> SAGING-SEND-samba4.so:
>>>> invalid string offset 1094 >= 1071 for section `.strtab'
>>>>
>>>> [1991/4252] Linking bin/default/source3/libtrusts-util-samba4.so
>>>> /usr/bin/ld:
>>>> /home/pi/samba-4.11.0/bin/default/source3/liblibcli-netlogon3-
>>>> samba4.so:
>>>> invalid string offset 3652 >= 3003 for section `.strtab'
>>>> /usr/bin/ld:
>>>>
>> /home/pi/samba-4.11.0/bin/default/source3/libsmbldaphelper-samba4.so:
>>>> invalid string offset 2623 >= 1809 for section `.strtab'
>>>> /usr/bin/ld:
>>>>
>> /home/pi/samba-4.11.0/bin/default/source3/libutil-cmdline-samba4.so:
>>>> invalid string offset 3860 >= 3386 for section `.strtab'
>>>> /usr/bin/ld:
>>>> /home/pi/samba-4.11.0/bin/default/source4/lib/messaging/libMES
>>>> SAGING-SEND-samba4.so:
>>>> invalid string offset 1094 >= 1071 for section `.strtab'
>>>>
>>>> For the build of 4.11.0 I have 4121 such messages.
>>>>
>>>> This happens with 32Bit Raspbian, both with Jessie and
>> Buster. 64Bit
>>>> Debian Buster on Raspberry Pi builds fine.
>>>>
>>>> I don't feel comfortable ignoring these message, or can I
>>>> safely ignore
>>>> them? Do you also have such messages on the Raspberry Pi?
>>>>
>>>> Regards,
>>>> Norbert
>>>>
>>>>
>>>> On 07.10.2019 19:19, Sorin P. via samba wrote:
>>>>> Removing the "jobs" parameter solved the issue.
>>>>> Thanks a lot Rowland!
>>>>>
>>>>>
>>>>>        On Sunday, October 6, 2019, 08:11:50 PM GMT+3, Rowland
>>>> penny via samba<samba at lists.samba.org>  wrote:
>>>>>     On 06/10/2019 17:55, Sorin P. via samba wrote:
>>>>>> Resent, missing link
>>>>>> https://app.box.com/s/ywz1983nngqb0snhfwqqg7nbv1eqib5q
>>>>>>
>>>>>>
>>>>> Remove '--jobs=4', it builds then.
>>>>>
>>>>> Rowland
>>>>>
>>>>>
>>>>>
>>>> --
>>>> To unsubscribe from this list go to the following URL and read the
>>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>>
>>>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
>>
>



More information about the samba mailing list