• Building fcl on mipsel.

    From Leopold Palomo-Avellaneda@21:1/5 to All on Thu Dec 24 16:40:02 2020
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gMorIoYpx8xZmI4hwKeo4hXEG3r8HwsvZ
    Content-Type: text/plain; charset=utf-8
    Content-Language: en-US
    Content-Transfer-Encoding: quoted-printable

    Hi,

    I have a problem with a package that doesn't build in mipsel [1]. The
    error, is:

    as: out of memory allocating 4072 bytes after a total of 569389056 bytes

    I have also tried to build in debomatic [2], with -j1, but similar error:

    out of memory allocating 4072 bytes after a total of 0 bytes
    /tmp/ccUbCUlA.s: Assembler messages:
    /tmp/ccUbCUlA.s: Fatal error: can't close CMakeFiles/fcl.dir/narrowphase/continuous_collision.cpp.o: memory exhausted

    I would like to ask some advice of what to do because I would like to
    ask a transition and it's the only arch that doesn't build.

    I have asked in IRC, but no result.

    Best regards,

    Leopold

    PS. Please make CC to me, I'm not in the list.

    [1] https://buildd.debian.org/status/fetch.php?pkg=fcl&arch=mipsel&ver=0.6.1-3&stamp=1606649354&raw=0
    [2] http://debomatic-mipsel.debian.net/distribution#unstable/fcl/0.6.1-4/buildlog

    --
    --
    Linux User 152692 GPG: 05F4A7A949A2D9AA
    Catalonia
    -------------------------------------
    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing in e-mail?


    --gMorIoYpx8xZmI4hwKeo4hXEG3r8HwsvZ--

    -----BEGIN PGP SIGNATURE-----

    wsF5BAABCAAjFiEEjF/vEZvRbmgP2ZRLBfSnqUmi2aoFAl/ktHMFAwAAAAAACgkQBfSnqUmi2aoA Xg//VC7pJOmrd6nzKwEV+4IMX4GD014/rr8YUH5rJdE1yvoVuTvnGEP0lIMEmmjetb0WLvJ6YM2s VkeMV3X4iC3AkW4EoaJsewrz2Xc/1tfRJvnkx5pr7/PvWV6fThanPSM6sMLPTCazjCXm1GHu+1/Z zQXCdwCHXPERXsHxzE6TIywGGXbRzHsdXTaOAEx4BUQXykghwJlXrj4rpgGHykYcjPVF0sK4784p GmdPaJ7JJ5RTcoWBUUGSz874eGW/8WfICSAdYn0zRii9vTuTUf9oHyZVtD9OlldLN1aaof73rBzE yhXrxO5EfGbJ4aXcZ5mhc5nU2xJVH3z43tF8gavlTyXvY215FWWV0FrSZRcPFVvpVRZ7lb6X3tYF VwTmeUE3XvpKAIhe/C52k4UM5XpCiilaT/PWCVb8CAH6DlLhEtV8KZ4o7fu9TC7AWttImz3r1HKU AEGd5tQmP40W70m/WyGzOlBb9wNWD4ahvD7An7nYa0YJrEVZmrG4adGZrlvJZUyslSswlYwVeqLO Kb8s5FUA7nqvISfd9bWL0xbkBnplOCE0KAIa+jqqgn
  • From YunQiang Su@21:1/5 to All on Fri Dec 25 02:20:02 2020
    Leopold Palomo-Avellaneda <leo@alaxarxa.net> 于2020年12月24日周四 下午11:37写道:

    Hi,

    I have a problem with a package that doesn't build in mipsel [1]. The
    error, is:

    as: out of memory allocating 4072 bytes after a total of 569389056 bytes

    I have also tried to build in debomatic [2], with -j1, but similar error:

    out of memory allocating 4072 bytes after a total of 0 bytes /tmp/ccUbCUlA.s: Assembler messages:
    /tmp/ccUbCUlA.s: Fatal error: can't close CMakeFiles/fcl.dir/narrowphase/continuous_collision.cpp.o: memory exhausted

    I would like to ask some advice of what to do because I would like to
    ask a transition and it's the only arch that doesn't build.

    I have asked in IRC, but no result.

    try pass `--reduce-memory-overheads` to assembler?


    Best regards,

    Leopold

    PS. Please make CC to me, I'm not in the list.

    [1] https://buildd.debian.org/status/fetch.php?pkg=fcl&arch=mipsel&ver=0.6.1-3&stamp=1606649354&raw=0
    [2] http://debomatic-mipsel.debian.net/distribution#unstable/fcl/0.6.1-4/buildlog

    --
    --
    Linux User 152692 GPG: 05F4A7A949A2D9AA
    Catalonia
    -------------------------------------
    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing in e-mail?



    --
    YunQiang Su

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Leopold Palomo-Avellaneda@21:1/5 to All on Sat Dec 26 00:30:01 2020
    Hi,

    thanks for the idea but no luck. I have tried in rules
    -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=gold -Wl,--no-map-whole-files -Wl,--no-keep-memory -Wl,--no-keep-files-mapped" \

    Also, I have tried to not build with debugging symbols:

    override_dh_strip:
    ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),mipsel))
    dh_strip --no-automatic-dbgsym
    endif

    Even, with make -j1 I got the same error:

    usr/bin/as: out of memory allocating 4072 bytes after a total of 0 bytes /tmp/ccqFrEvR.s: Assembler messages:
    /tmp/ccqFrEvR.s: Fatal error: can't close CMakeFiles/fcl.dir/narrowphase/continuous_collision.cpp.o: memory exhausted make[3]: *** [src/CMakeFiles/fcl.dir/build.make:1060: src/CMakeFiles/fcl.dir/narrowphase/continuous_collision.cpp.o] Error 1
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-mipsel-linux-gnu'
    make[2]: *** [CMakeFiles/Makefile2:1177: src/CMakeFiles/fcl.dir/all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-mipsel-linux-gnu'
    make[1]: *** [Makefile:163: all] Error 2
    make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-mipsel-linux-gnu' dh_auto_build: error: cd obj-mipsel-linux-gnu && make -j1
    "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
    make: *** [debian/rules:22: binary] Error 25


    So, I understand that it is in the compile process, not in link process.
    Any other idea?

    Leopold


    El 25/12/20 a les 2:11, YunQiang Su ha escrit:
    Leopold Palomo-Avellaneda <leo@alaxarxa.net> 于2020年12月24日周四 下午11:37写道:

    Hi,

    I have a problem with a package that doesn't build in mipsel [1]. The
    error, is:

    as: out of memory allocating 4072 bytes after a total of 569389056 bytes

    I have also tried to build in debomatic [2], with -j1, but similar error:

    out of memory allocating 4072 bytes after a total of 0 bytes
    /tmp/ccUbCUlA.s: Assembler messages:
    /tmp/ccUbCUlA.s: Fatal error: can't close
    CMakeFiles/fcl.dir/narrowphase/continuous_collision.cpp.o: memory exhausted >>
    I would like to ask some advice of what to do because I would like to
    ask a transition and it's the only arch that doesn't build.

    I have asked in IRC, but no result.

    try pass `--reduce-memory-overheads` to assembler?


    Best regards,

    Leopold

    PS. Please make CC to me, I'm not in the list.

    [1]
    https://buildd.debian.org/status/fetch.php?pkg=fcl&arch=mipsel&ver=0.6.1-3&stamp=1606649354&raw=0
    [2]
    http://debomatic-mipsel.debian.net/distribution#unstable/fcl/0.6.1-4/buildlog

    --
    --
    Linux User 152692 GPG: 05F4A7A949A2D9AA
    Catalonia
    -------------------------------------
    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing in e-mail?





    --
    --
    Linux User 152692 GPG: 05F4A7A949A2D9AA
    Catalonia
    -------------------------------------
    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing in e-mail?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From YunQiang Su@21:1/5 to All on Sat Dec 26 08:00:03 2020
    Leopold Palomo-Avellaneda <leo@alaxarxa.net> 于2020年12月26日周六 上午7:28写道:

    Hi,

    thanks for the idea but no luck. I have tried in rules
    -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=gold -Wl,--no-map-whole-files -Wl,--no-keep-memory -Wl,--no-keep-files-mapped" \


    It failed due to assembler, so you need to use -Wa to CFLAGS instead
    of -Wl to LDFLAGS.
    https://gcc.gnu.org/onlinedocs/gcc/Assembler-Options.html

    Also, I have tried to not build with debugging symbols:

    override_dh_strip:
    ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),mipsel))
    dh_strip --no-automatic-dbgsym
    endif

    Even, with make -j1 I got the same error:

    usr/bin/as: out of memory allocating 4072 bytes after a total of 0 bytes /tmp/ccqFrEvR.s: Assembler messages:
    /tmp/ccqFrEvR.s: Fatal error: can't close CMakeFiles/fcl.dir/narrowphase/continuous_collision.cpp.o: memory exhausted make[3]: *** [src/CMakeFiles/fcl.dir/build.make:1060: src/CMakeFiles/fcl.dir/narrowphase/continuous_collision.cpp.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-mipsel-linux-gnu'
    make[2]: *** [CMakeFiles/Makefile2:1177: src/CMakeFiles/fcl.dir/all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-mipsel-linux-gnu'
    make[1]: *** [Makefile:163: all] Error 2
    make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-mipsel-linux-gnu' dh_auto_build: error: cd obj-mipsel-linux-gnu && make -j1
    "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
    make: *** [debian/rules:22: binary] Error 25


    So, I understand that it is in the compile process, not in link process.
    Any other idea?

    Leopold


    El 25/12/20 a les 2:11, YunQiang Su ha escrit:
    Leopold Palomo-Avellaneda <leo@alaxarxa.net> 于2020年12月24日周四 下午11:37写道:

    Hi,

    I have a problem with a package that doesn't build in mipsel [1]. The
    error, is:

    as: out of memory allocating 4072 bytes after a total of 569389056 bytes >>
    I have also tried to build in debomatic [2], with -j1, but similar error: >>
    out of memory allocating 4072 bytes after a total of 0 bytes
    /tmp/ccUbCUlA.s: Assembler messages:
    /tmp/ccUbCUlA.s: Fatal error: can't close
    CMakeFiles/fcl.dir/narrowphase/continuous_collision.cpp.o: memory exhausted

    I would like to ask some advice of what to do because I would like to
    ask a transition and it's the only arch that doesn't build.

    I have asked in IRC, but no result.

    try pass `--reduce-memory-overheads` to assembler?


    Best regards,

    Leopold

    PS. Please make CC to me, I'm not in the list.

    [1]
    https://buildd.debian.org/status/fetch.php?pkg=fcl&arch=mipsel&ver=0.6.1-3&stamp=1606649354&raw=0
    [2]
    http://debomatic-mipsel.debian.net/distribution#unstable/fcl/0.6.1-4/buildlog

    --
    --
    Linux User 152692 GPG: 05F4A7A949A2D9AA
    Catalonia
    -------------------------------------
    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing in e-mail?





    --
    --
    Linux User 152692 GPG: 05F4A7A949A2D9AA
    Catalonia
    -------------------------------------
    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing in e-mail?



    --
    YunQiang Su

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From YunQiang Su@21:1/5 to All on Sat Dec 26 09:40:01 2020
    YunQiang Su <wzssyqa@gmail.com> 于2020年12月26日周六 下午2:52写道:

    Leopold Palomo-Avellaneda <leo@alaxarxa.net> 于2020年12月26日周六 上午7:28写道:

    Hi,

    thanks for the idea but no luck. I have tried in rules
    -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=gold -Wl,--no-map-whole-files -Wl,--no-keep-memory -Wl,--no-keep-files-mapped" \



    add
    -DCMAKE_CXX_FLAGS=-Wa,--reduce-memory-overheads
    to dh_auto_configure can make fcl buildable.

    It failed due to assembler, so you need to use -Wa to CFLAGS instead
    of -Wl to LDFLAGS.
    https://gcc.gnu.org/onlinedocs/gcc/Assembler-Options.html

    Also, I have tried to not build with debugging symbols:

    override_dh_strip:
    ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),mipsel))
    dh_strip --no-automatic-dbgsym
    endif

    Even, with make -j1 I got the same error:

    usr/bin/as: out of memory allocating 4072 bytes after a total of 0 bytes /tmp/ccqFrEvR.s: Assembler messages:
    /tmp/ccqFrEvR.s: Fatal error: can't close CMakeFiles/fcl.dir/narrowphase/continuous_collision.cpp.o: memory exhausted make[3]: *** [src/CMakeFiles/fcl.dir/build.make:1060: src/CMakeFiles/fcl.dir/narrowphase/continuous_collision.cpp.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-mipsel-linux-gnu'
    make[2]: *** [CMakeFiles/Makefile2:1177: src/CMakeFiles/fcl.dir/all] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-mipsel-linux-gnu'
    make[1]: *** [Makefile:163: all] Error 2
    make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-mipsel-linux-gnu' dh_auto_build: error: cd obj-mipsel-linux-gnu && make -j1
    "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
    make: *** [debian/rules:22: binary] Error 25


    So, I understand that it is in the compile process, not in link process. Any other idea?

    Leopold


    El 25/12/20 a les 2:11, YunQiang Su ha escrit:
    Leopold Palomo-Avellaneda <leo@alaxarxa.net> 于2020年12月24日周四 下午11:37写道:

    Hi,

    I have a problem with a package that doesn't build in mipsel [1]. The
    error, is:

    as: out of memory allocating 4072 bytes after a total of 569389056 bytes >>
    I have also tried to build in debomatic [2], with -j1, but similar error:

    out of memory allocating 4072 bytes after a total of 0 bytes
    /tmp/ccUbCUlA.s: Assembler messages:
    /tmp/ccUbCUlA.s: Fatal error: can't close
    CMakeFiles/fcl.dir/narrowphase/continuous_collision.cpp.o: memory exhausted

    I would like to ask some advice of what to do because I would like to
    ask a transition and it's the only arch that doesn't build.

    I have asked in IRC, but no result.

    try pass `--reduce-memory-overheads` to assembler?


    Best regards,

    Leopold

    PS. Please make CC to me, I'm not in the list.

    [1]
    https://buildd.debian.org/status/fetch.php?pkg=fcl&arch=mipsel&ver=0.6.1-3&stamp=1606649354&raw=0
    [2]
    http://debomatic-mipsel.debian.net/distribution#unstable/fcl/0.6.1-4/buildlog

    --
    --
    Linux User 152692 GPG: 05F4A7A949A2D9AA
    Catalonia
    -------------------------------------
    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing in e-mail?





    --
    --
    Linux User 152692 GPG: 05F4A7A949A2D9AA
    Catalonia
    -------------------------------------
    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing in e-mail?



    --
    YunQiang Su



    --
    YunQiang Su

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Leopold Palomo-Avellaneda@21:1/5 to All on Sat Dec 26 12:00:02 2020
    El 26/12/20 a les 9:31, YunQiang Su ha escrit:
    YunQiang Su <wzssyqa@gmail.com> 于2020年12月26日周六 下午2:52写道:

    Leopold Palomo-Avellaneda <leo@alaxarxa.net> 于2020年12月26日周六 上午7:28写道:

    Hi,

    thanks for the idea but no luck. I have tried in rules
    -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=gold -Wl,--no-map-whole-files
    -Wl,--no-keep-memory -Wl,--no-keep-files-mapped" \



    add
    -DCMAKE_CXX_FLAGS=-Wa,--reduce-memory-overheads
    to dh_auto_configure can make fcl buildable.


    yes!!!!!


    thanks a lot. It was built


    http://debomatic-mipsel.debian.net/distribution#unstable/fcl/0.6.1-4/buildlog

    Leopold


    --
    --
    Linux User 152692 GPG: 05F4A7A949A2D9AA
    Catalonia
    -------------------------------------
    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing in e-mail?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)