Replace with gcc-multilib

Morning Folks,
My arch linux system runs very very well. Now I would like to use eagle, a CAD software to design circuit boards (PCBs).
Eagle is available in the AUR: https://aur.archlinux.org/packages.php?ID=15941
The last time (a year or two ago) I messed up my entire system by installing that package. Installing eagle from the AUR requires to install gcc-multilib, which somehow replaces the current, existing gcc.
Is it safe to do that, or was I doing something wrong? I really really need my toolchain running like it does now.
~ Tectu

As far as I know, multilib is just "the same gcc" but with it you cannot only build x86_64 code, but also 32-bit code, right?
After installing gcc-multilib, I'll be still able to call    $ gcc   and build some 64-bit code like now? I ask because I work with cross compiling, and I don't want to mess things up again
~ Tectu
Last edited by Tectu (2012-09-17 12:47:40)

Similar Messages

  • Safe to replace gcc with gcc-multilib?

    It seems to me that every single useful package requires that I replace gcc-libs with gcc-libs-multilibs, binutils with binutils-multilib, and gcc with gcc-multilib, and it's frustrating. I'm trying to install pipelight in order to be able to do online schooling in Arch instead of having to switch to windows all the time, but I'm leery about replacing all these packages due to countless problems I've had with gcc-libs in the past. Is it safe to replace all these packages? Can't name any right now but there's been quite a few extremely useful packages that I won't install because it requires me to replace all these packages.
    EDIT: I'm sorry, correction, this doesn't happen with pipelight specifically. It happens when I try to install a dependency; wine-silverlight. Yaourt also tells me that it's an unsupported and potentially dangerous package, although I didn't see anything signifying that in the AUR. I'm starting to believe yaourt says this about every package.
    Last edited by xworld (2014-01-16 20:42:45)

    All AUR packages are unsupported, may be potentially dangerous and you should inspect the PKGBUILDs before using them to build and install packages.
    If you're using a 64-bit system and have to use multilib, you do install lib32-* or *-multilib packages, nothing wrong with that. Why do you think it's unsafe?
    xworld wrote:I'm leery about replacing all these packages due to countless problems I've had with gcc-libs in the past.
    Any examples?

  • Gcc update breaks with gcc-multilib

    What should I do? I cannot just uninstall gcc-multilib as many packages depend on it.
    $ $ sudo pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    multilib is up to date
    :: Starting full system upgrade...
    warning: grml-zsh-config: ignoring package upgrade (0.7.4-1 => 0.8.1-1)
    resolving dependencies...
    looking for inter-conflicts...
    :: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] y
    :: gcc and gcc-multilib are in conflict. Remove gcc-multilib? [y/N] y
    error: failed to prepare transaction (could not satisfy dependencies)
    :: libtool-multilib: requires gcc-multilib=4.8.0

    akurei, i had  the same messages a while ago everytime gcc was updated in extra but multilib lagged behind.
    On my system the problem was caused because i had missed replacing a compiler (gcc-objc in my case ) with its multilib counterpart.
    As long as gcc-libs-multilib was the same version as gcc-libs everything worked.
    I suggest you run pacman -Sl multilib and check if you miss something in that list you do use the multilib version of.
    Last edited by Lone_Wolf (2013-04-16 14:40:39)

  • Compiling with gcc-multilib

    Hello
    I was just about to compile a version of wine, as it works best with a program I am running.
    However, it required 32 bit devel libraries, so I installed multilib-devel.
    ./configure worked fine, however, running the "make" command posts command not found.
    Is there a symlink I have to make to get 'make' to appear as a command, so i can continue to compile wine?

    This might actually help:
    pacman -S make
    Greetings
    matse

  • Question gcc-multilib [Solved]

    Hi, and maybe a dumb question but I have 64bit arch and I sometimes install something and it wants to replace gcc-lib with gcc-multilib how does this effect me?
    thanks
    --jerry
    Last edited by jk121960 (2012-08-17 12:00:50)

    gcc-multilib is the default gcc with an additional multilib toolchain (for 32bit binaries on 64bit linux). This does not affect the 64bit system.

  • Installing gcc-multilib after gcc installed.

    Hey there,
    I'm trying to install gcc-multilib on my 64 bit machine as I'm trying to compile some binaries for a 32 bit system so I'm trying to install the multilib version of gcc however when I go to install it it obviously conflicts with the gcc I currently have installed and in order to install it I'd need to remove gcc-libs which basically uninstalls a large majority of my system because everything relies on gcc-libs.
    Sorry if this is the wrong area I just don't really know what to do.
    Thanks

    Are you trying to remove gcc-libs manually rather than letting pacman do it as part of the transaction that replaces gcc with gcc-multilib? Because gcc-multilib should pull in gcc-libs-multilib which provides gcc-libs, so stuff depending on that should be fine.

  • [solved: I am a dope] Can gcc and gcc-multilib coexist?

    If I try to install gcc-multilib, it conflicts with my existing 64-bit gcc package. Is there a way for me to install it in another path or install the binaries from gcc-multilib as gcc32, g++32 etc?
    Last edited by rhd (2012-02-20 02:50:55)

    rhd wrote:
    I'm learning 32-bit assembly and the tutorial I am using has a small collection of example code and a little library which needs a 32-bit copy of libgcc.a.
    libgcc.a is owned by gcc and not gcc-libs and so here I am, attempting to install the multilib package instead of the 64-bit version. The -m32 flag doesn't help. [edit: the -m32 flag to gcc, which tells it to compile for a 32 bit arch]
    $ nosr libgcc.a
    core/gcc
    community/arm-elf-gcc-base
    community/arm-wince-cegcc-gcc
    community/avr-gcc
    community/mingw32-gcc
    community/mingw32-gcc-base
    multilib/gcc-multilib
    I tried to point out that gcc-multilib provides gcc. Everything gcc does, you can do with gcc-multilib. You can't have both installed at the same time (but you wouldn't want/need to, either).
    Last edited by falconindy (2012-02-18 15:01:10)

  • Gcc-multilib & ppl [solved]

    The last update for ppl broke gcc-multilib. It kept complaining about not finding any libppl.so.9.
    Not sure if it's connected, but when installing from aur, makepkg also failed on not finding x86_64-unknown-linux-gnu, or something like that.
    I don't have the exact outputs, since I already restarted, sry about that.
    For the time being I solved it by replacing gcc-multilib with gcc .
    Last edited by lman (2012-03-04 15:11:44)

    lman wrote:Edit: gcc-multilib already new one, still waiting on libtool-multilib, hope it syncs soon
    A quick solution I use for such circumstances is to manually download the package from the website and pacman -U it.

  • Libx32-glibc won't install due to gcc-multilib-x32 dependency

    I'm trying to install the libx32-glibc package (https://aur.archlinux.org/packages/libx32-glibc/) which does not list any dependencies on the package web page. However, when I try to install it, it shows this message:
    ==> Making package: libx32-glibc 2.17_5-1 (****)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Installing missing dependencies...
    [sudo] password for ****:
    error: target not found: gcc-multilib-x32>=4.7
    ==> ERROR: 'pacman' failed to install missing dependencies.
    I need libx32-glibc to install gcc-multilib-x32 which gives this message when trying to install:
    $ makepkg -s
    ==> Making package: gcc-multilib-x32 4.8.0_3-1 (****)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Installing missing dependencies...
    [sudo] password for ****:
    error: target not found: libx32-glibc>=2.17
    ==> ERROR: 'pacman' failed to install missing dependencies.
    How can I get gcc-multilib-x32 to install? I tried removing the dependency check in the PKGBUILD but that had other issues.

    The circular dependency was made intentionally, it is actually the same circular dependency you can find in the main repo: gcc -> gcc-libs -> glibc -> gcc (make). Because making glibc requires a valid gcc while gcc requires glibc to be functional.
    To build this, you actually need the packages glibc-x32-seed and gcc-x32-seed. Then you can build libx32-glibc to replace glibc-x32-seed, then eventually gcc-multilib-x32 to replace gcc-x32-seed.
    There're more information about this in this thread and this blog post in Chinese.

  • [SOLVED] GCC multilib: cannot find shared library

    Hi,
    I'm trying to compile a systemc program to a 32-bit executable on arch x86_64.  I'm using GCC multilib.  Program compiles fine, but I get the following error when trying to run.
    /home/[myusername]/workspace/systemc_test/Debug/systemc_test: error while loading shared libraries: libsystemc-2.3.1.so: cannot open shared object file: No such file or directory
    Compiler:
    g++ -std=c++0x -DSC_INCLUDE_DYNAMIC_PROCESSES -I/usr/local/systemc/include -O0 -g3 -Wall -c -fmessage-length=0 -m32 -MMD -MP -MF"main.d" -MT"main.d" -o "main.o" "../main.cpp"
    Linker:
    g++ -L/usr/local/systemc/lib-linux -m32 -o "systemc_test" ./main.o -lsystemc
    ls /usr/local/systemc/lib-linux/
    libsystemc-2.3.1.so  libsystemc.a  libsystemc.la  libsystemc.so  pkgconfig
    What am I doing wrong?  For the record, this works fine on Ubuntu (64-bit with multilib) using the same version of the systemc library, compiled and installed in exactly the same manner.
    Thanks!
    Last edited by kamz (2014-08-04 02:38:02)

    You're correct -- doesn't find that path.
    ldd systemc_test
    linux-gate.so.1 (0xf77ac000)
        libsystemc-2.3.1.so => not found
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf768f000)
        libm.so.6 => /usr/lib32/libm.so.6 (0xf7643000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7628000)
        libc.so.6 => /usr/lib32/libc.so.6 (0xf7465000)
        /lib/ld-linux.so.2 (0xf77ad000)
    Adding /usr/local/systemc/lib-linux to LD_LIBRARY_PATH solves the problem.  I used a script under /etc/profile.d/ to set this at session start, so I now consider this solved.  Out of curiousity, is it possible to avoid having to do this?

  • [Solved] gcc-multilib alongside gcc?

    Hi everyone. Apologies if this has been asked before, I've been searching around for a while and have not found an answer yet.
    Is it at all possible to have both gcc and gcc-multilib installed on x86_64 at one time? Pacman complains about conflicts between the two if you attempt to install both. If there are actual file conflicts, would it be possible to install gcc-multilib to a location such as /opt, and would this remedy the conflicts?
    Cheers!
    Last edited by xdelv (2011-08-16 13:54:35)

    bernarcher wrote:Why do you want to do so? gcc-multilib fully qualifies as gcc with additional capabilities. You will most probably get conflicts if you use both in parallel.
    Hi, thanks for the quick reply. I was under the impression that gcc-multilib was only capable of compiling multilib packages, and I don't want to give up my ability to compile native 64bit packages as well. Is that not the case?
    Edit: I've just found https://bbs.archlinux.org/viewtopic.php?id=102828 which seems to answer my question, in that "gcc-multilib includes just about every architecture, which is why it's 68 MB instead of about16". That's awesome, it seems "multilib" in my mind was associated with lib32 packages only, instead of multiple architectures. Thank you for helping me figure this out!
    Last edited by xdelv (2011-08-16 13:54:05)

  • [SOLVED] gcc-multilib vs cross32-gcc

    What is the difference between gcc-multilib from http://supraverse.net/arch and cross32-gcc from community repo? I currently use gcc-multilib. If cross32-gcc provides the same functionality, how do I use this gcc for compiling 32-bit binaries.
    I use gcc-multilib mainly to compile grub-legacy, grub2 for bios and grub2 for i386 UEFI. Can anyone try compiling grub2-efi-bzr (with _EFI_ARCH=i386 in the PKGBUILD) in Arch64 using cross32-gcc. I maintain that package and i am willing to modify the PKGBUILD to use cross32-gcc in case of cross-compiling. Thanks in advance.
    Last edited by skodabenz (2011-01-30 19:37:06)

    Marenz wrote:
    RetroX wrote:
    cross32-gcc is actually just the 32-bit gcc package for 64-bit platforms.  gcc-multilib includes just about every architecture, which is why it's 68 MB instead of about16.
    Also, the gcc-multilib package is neat, but it doesn't seem to be maintained very well.  It doesn't actually specify that it conflicts with the regular GCC, and it seems to be out of date currently.
    Well, yes, I don't have the time and right now not even the hardware to update it (my 64bit desktop is pretty far away right now), sorry about that.
    If anyone is willing to step in here, be my guest. Just provide me with the packages. I can also offer write access to the related git repositroy with the PKGBUILDs.
    --Marenz
    Ah, that's fine.  I guess that I'll just use the cross32-gcc.
    And I didn't notice that this topic was a week old. D:
    Sorry about that.
    Last edited by RetroX (2010-08-21 16:07:45)

  • Problem installing gcc-multilib

    Hi all,
    I am trying to install lib32-jpeg7 from AUR but I am getting
    an error that the system needs gcc-multilib.
    I then go to /etc/pacman.conf and add the following lines:
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    I then do pacman -Syy
    and that's what I get back
    error: failed retrieving file 'multilib.db' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
    What should I do?
    Thanks in advance

    I've downloaded the demo of sunblast
    http://www.sunblastthegame.com/download.php
    After I untar it on to my home folder
    it says this:
    [konos@archBox sunblast_demo_linux32]$ ./sunblastdemo
    ./sunblastdemo: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
    So I googled the library and found that it belongs to the lib32-libjpeg package which I tried to download with yaourt.
    Yaourt then complained that it needs gcc-multilib to build it and cancelled the operation!
    So.. I figured out that I have to manually install gcc-multilib first and then lib32-libjpeg with yaourt in order to make it work..!
    P.S. @Karol: I 've already installed the package you are suggesting
    Last edited by konos5 (2011-10-26 00:20:02)

  • Pacman complains with `"gcc-libs" is not in the package set` message

    Hi,
    today I wanted to do full system upgrade, but this happened:
    # pacman -Syu
    :: Synchronizing package databases...
    current                   69,7K   84,9K/s 00:00:01 [#################################################] 100%
    extra                    323,1K   17,5K/s 00:00:18 [#################################################] 100%
    community                312,4K  219,0K/s 00:00:01 [#################################################] 100%
    :: Starting full system upgrade...
    :: Replace scrollkeeper with extra/rarian? [Y/n]
    warning: apr: forcing upgrade to version 1.2.9-1
    warning: dnsutils: forcing upgrade to version 9.4.1_P1-2
    warning: ruby: forcing upgrade to version 1.8.6_p36-3
    warning: sudo: forcing upgrade to version 1.6.9p4-1
    warning: xpdf: forcing upgrade to version 3.02_pl1-1
    resolving dependencies...
    error: cannot resolve dependencies for "rarian" ("gcc-libs" is not in the package set)
    error: failed to prepare transaction (could not satisfy dependencies)
    :: rarian requires gcc-libs
    It's obvious that gcc-libs package is missing in current package. I've found one similar problem here http://bbs.archlinux.org/viewtopic.php?pid=283439. But I cannot solve it like that. I have current file included in /etc/pacman.conf already. I've also tried to change current to core and make the /etc/pacman.d/core file and it complained too:
    # pacman -Su
    :: Starting full system upgrade...
    :: Replace util-linux with current/util-linux-ng? [Y/n]
    :: Replace scrollkeeper with extra/rarian? [Y/n]
    warning: apr: forcing upgrade to version 1.2.11-1
    warning: apr-util: forcing upgrade to version 1.2.10-1
    warning: dnsutils: forcing upgrade to version 9.4.1_P1-2
    warning: ntp: forcing upgrade to version 4.2.4p4-2
    warning: ruby: forcing upgrade to version 1.8.6_p111-2
    warning: sudo: forcing upgrade to version 1.6.9p5-1
    warning: xpdf: forcing upgrade to version 3.02_pl1-1
    :: pacman has detected a newer version of the "pacman" package.
    :: It is recommended that you allow pacman to upgrade itself
    :: first, then you can re-run the operation with the newer version.
    :: Upgrade pacman first? [Y/n]
    resolving dependencies... done.
    looking for inter-conflicts... done.
    Targets: pacman-3.0.6-1 
    Total Package Size:   0,80 MB
    Proceed with installation? [Y/n]
    checking package integrity... done.
    cleaning up... done.
    (1/1) checking for file conflicts                   [#################################################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    pacman: /etc/pacman.d/core exists in filesystem
    errors occurred, no packages were upgraded.
    The last upgrade was almost perfect but now strange things happens. :^(
    Can anyone help me to solve this, please??

    kishd wrote:Did you replace current with core in your pacman.conf file?
    yes, the second output is related to pacman.conf with `current` replaced with `core` .... and good to say, that I did NOT forgot to update repositories with `pacman -Sy` before upgrade ;-)

  • Problems with Photoshop CS2 I originally purchased this software several years ago. At time I was running Microsoft Windows XP. This computer recently was replaced with  a Dell running Windows 8.I reloaded my CS2 on this computer & it ran fine with a few

    Problems with Photoshop CS2
    I originally purchased this software several years ago. At time I was running Microsoft Windows XP.
    This computer recently was replaced with a Dell running Windows 8.I reloaded my CS2 on this computer & it ran fine with a few exceptions as follows;
    when the software comes up initially I get a message that says “could not complete your request because of program error”. Hitting OK allows me to continue using the software .
    When I try to activate a function using CTLR or ALT keys I get this message “required application failed to load and the product cannot continue. Please reinstall the application”. This causes the application to abort.
    Reloading my CS2 continues to generate the same messages when I depress the CTLR or ALT keys.

    Your original copy is obsolete and Adobe is offering a free replacement you are entitled to. Download and use that and that should clear it up for you.
    https://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.ht ml
    Download this copy of CS2 and use the serial number provided next to the download link.

Maybe you are looking for

  • SAFARI not rendering right

    I just finished designing my website and it runs fine in every browser but safari. it previews fine from dreamweaver in safari but when i open it up on the server in safari it jsut doesn't load everything or has problems with css. i'm not sure what e

  • How to use SQL OVER and PARTITION BY in OBIEE Expression Builder??

    Hi there, I want to create a new logical coulmn with the following SQL query. SUM(Inventory Detail.Qty) OVER(PARTITION BY Inventory Detail.A,Inventory Detail.B,Item.C,Inventory Detail.D,MyDATE )/SUM(Inventory Detail.Qty) OVER(PARTITION BY Inventory D

  • Document Spliting activation

    Hi All, One of the my retail client activated New GL functionality without document splitting in 2007 for 3 company codes. Now business requirement is to generate Profit centre and Segment wise Financial statements. We can able to get Financial state

  • Errors in Material Transfer from R/3 to CRM

    Hi, When in am transferring the materials from R/3 to CRM I am getting the follwoign errors in Transaction smw01 1)One or more sales texts have been maintained for the combination of sales organization O 10000147    01 and distribution channel 01 for

  • Why does this query run slow ??

    hi , i have the following query SELECT   PT.PT_ID,   PCD_INST.CALL_PCD_NAME,   RC.RC_ID,   RC.RC_TITLE,   PCD.PCD_TITLE,   RC.E_TYPE FROM   PT,   PCD_INST,   RC,   PCD,   PCD_INST_RS WHERE   ( PT.PT_ID = PCD_INST.PCD_ID  )   AND  ( PCD.PCD_ID = PCD_I